This commit is contained in:
parent
7585b22403
commit
e482f21717
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -13,7 +13,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
withCredentials([usernamePassword(credentialsId: 'google-email-apps-password', passwordVariable: 'GMAIL_APP_PASSWORD', usernameVariable: 'GMAIL_EMAIL'), usernamePassword(credentialsId: 'ldap-bind-auth-user', passwordVariable: 'BINDPASS', usernameVariable: 'BINDUSER')]) {
|
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 """
|
||||||
export PG_PASS=$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c32)
|
export PG_PASS=\$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c32)
|
||||||
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
|
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