Update vars/jenkinsPipelineSkeleton.groovy

This commit is contained in:
2025-05-29 11:29:42 +03:00
parent 05073fbf36
commit 9807867878

View File

@@ -38,14 +38,16 @@ def call(String projectName, Map config) {
stage('Build and Deploy') { stage('Build and Deploy') {
steps { steps {
script { withCredentials([
withCredentials([
string(credentialsId: 'quarkus-db-secret', variable: 'QUARKUS_DB_USER'), string(credentialsId: 'quarkus-db-secret', variable: 'QUARKUS_DB_USER'),
string(credentialsId: 'quarkus-db-secret', variable: 'QUARKUS_DB_PASSWORD') string(credentialsId: 'quarkus-db-secret', variable: 'QUARKUS_DB_PASSWORD')
]) { ]) {
script {
def dbUser = QUARKUS_DB_USER def dbUser = QUARKUS_DB_USER
def dbPass = QUARKUS_DB_PASSWORD def dbPass = QUARKUS_DB_PASSWORD
buildAndDeploy( buildAndDeploy(
projectName, projectName,
config.helmChart, config.helmChart,