Update Jenkinsfile
Some checks failed
Updates/open-webui-ollama-docker-deploy/pipeline/head There was a failure building this commit

This commit is contained in:
2025-08-22 23:14:22 +00:00
parent a53b10b98c
commit 0771332ac1

4
Jenkinsfile vendored
View File

@@ -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 \