This commit is contained in:
parent
a41d011cf1
commit
d0101a4e77
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -11,9 +11,10 @@ pipeline {
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
withCredentials([string(credentialsId: 'google-email-apps-password', variable: 'GOOGLE_APP_PASSWORD')]) {
|
||||
withCredentials([usernamePassword(credentialsId: 'google-email-apps-password', passwordVariable: 'GMAIL_APP_PASSWORD', usernameVariable: 'GMAIL_EMAIL')]) {
|
||||
|
||||
sh """
|
||||
GOOGLE_APP_PASSWORD="${GOOGLE_APP_PASSWORD}" COMPOSE_PROJECT_NAME=${PROJECT_NAME} docker compose up -d --force-recreate
|
||||
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