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