diff --git a/Jenkinsfile b/Jenkinsfile index 3cd275a..2c25d2d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,7 @@ pipeline { stage('Deploy with Docker Compose') { steps { script { - withCredentials([usernamePassword(credentialsId: 'gitea-oauth-open-webui-client-id-secret', passwordVariable: 'CLIENT_SECRET', usernameVariable: 'CLIENT_ID'), string(credentialsId: 'OpenAI-API-Token', variable: 'OPEN_AI_TOKEN'), usernamePassword(credentialsId: 'ldap-bind-auth-user', passwordVariable: 'AD_BIND_PASSWORD', usernameVariable: 'AD_BIND_USER')]) { + withCredentials([usernamePassword(credentialsId: 'gitea-oauth-open-webui-client-id-secret', passwordVariable: 'CLIENT_SECRET', usernameVariable: 'CLIENT_ID'), string(credentialsId: 'OpenAI-API-Token', variable: 'OPEN_AI_TOKEN'), usernamePassword(credentialsId: 'ldap-bind-auth-user', passwordVariable: 'AD_BIND_PASSWORD', usernameVariable: 'AD_BIND_USER'), credentialsId: 'WEBUI_SECRET_KEY', variable: 'WEBUI_SECRET_KEY')]) { sh """ COMPOSE_PROJECT_NAME=openwebui \ @@ -46,7 +46,7 @@ pipeline { TIKA=${TIKA} \ OLLAMA=${OLLAMA} \ OPENWEBUI=${OPENWEBUI} \ - + WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}\ export PG_PASS=\$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c32) docker compose pull COMPOSE_PROJECT_NAME=openwebui \