Update vars/jenkinsPipelineSkeleton.groovy
This commit is contained in:
@@ -38,14 +38,16 @@ def call(String projectName, Map config) {
|
||||
|
||||
stage('Build and Deploy') {
|
||||
steps {
|
||||
script {
|
||||
withCredentials([
|
||||
withCredentials([
|
||||
string(credentialsId: 'quarkus-db-secret', variable: 'QUARKUS_DB_USER'),
|
||||
string(credentialsId: 'quarkus-db-secret', variable: 'QUARKUS_DB_PASSWORD')
|
||||
]) {
|
||||
|
||||
script {
|
||||
|
||||
def dbUser = QUARKUS_DB_USER
|
||||
def dbPass = QUARKUS_DB_PASSWORD
|
||||
|
||||
buildAndDeploy(
|
||||
projectName,
|
||||
config.helmChart,
|
||||
|
||||
Reference in New Issue
Block a user