Update Jenkinsfile
Some checks failed
Updates/Joplin/pipeline/head There was a failure building this commit
Some checks failed
Updates/Joplin/pipeline/head There was a failure building this commit
This commit is contained in:
parent
d1d340a1a9
commit
16570adc16
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -11,10 +11,9 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
withCredentials([usernamePassword(credentialsId: 'google-email-apps-password', passwordVariable: 'GMAIL_APP_PASSWORD', usernameVariable: 'GMAIL_EMAIL')]) {
|
withCredentials([usernamePassword(credentialsId: 'google-email-apps-password', passwordVariable: 'GMAIL_APP_PASSWORD', usernameVariable: 'GMAIL_EMAIL'), usernamePassword(credentialsId: 'ldap-bind-auth-user', passwordVariable: 'BINDPASS', usernameVariable: 'BINDUSER')]) {
|
||||||
|
|
||||||
sh """
|
sh """
|
||||||
GMAIL_APP_PASSWORD="${GMAIL_APP_PASSWORD}" GMAIL_EMAIL=${GMAIL_EMAIL} COMPOSE_PROJECT_NAME=${PROJECT_NAME} docker compose up -d --force-recreate
|
BINDUSER=${BINDUSER} BINDPASS=${BINDPASS} GMAIL_APP_PASSWORD="${GMAIL_APP_PASSWORD}" GMAIL_EMAIL=${GMAIL_EMAIL} COMPOSE_PROJECT_NAME=${PROJECT_NAME} docker compose up -d --force-recreate
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user