Update vars/jenkinsPipelineSkeleton.groovy

This commit is contained in:
2025-05-29 11:28:26 +03:00
parent 0f78c32a02
commit 05073fbf36

View File

@@ -36,6 +36,9 @@ def call(String projectName, Map config) {
}
}
stage('Build and Deploy') {
steps {
script {
withCredentials([
string(credentialsId: 'quarkus-db-secret', variable: 'QUARKUS_DB_USER'),
string(credentialsId: 'quarkus-db-secret', variable: 'QUARKUS_DB_PASSWORD')
@@ -43,10 +46,6 @@ def call(String projectName, Map config) {
def dbUser = QUARKUS_DB_USER
def dbPass = QUARKUS_DB_PASSWORD
stage('Build and Deploy') {
steps {
script {
buildAndDeploy(
projectName,
config.helmChart,
@@ -63,7 +62,7 @@ def call(String projectName, Map config) {
}
}
}
}
post {
success {
echo "Build for '${projectName}' was successful!"