Update Jenkinsfile
All checks were successful
Updates/open-webui-ollama-docker-deploy/pipeline/head This commit looks good
All checks were successful
Updates/open-webui-ollama-docker-deploy/pipeline/head This commit looks good
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -26,7 +26,7 @@ pipeline {
|
||||
script {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') {
|
||||
echo 'Checking Ollama version before deploy:'
|
||||
sh 'docker exec -i ollama ollama -v || echo "Ollama check failed"'
|
||||
sh 'docker exec -i ollama1 ollama -v || echo "Ollama check failed"'
|
||||
|
||||
echo 'Checking Open-WebUI version before deploy:'
|
||||
sh 'docker exec -i openwebui jq -r .version /app/package.json || echo "Open-WebUI check failed"'
|
||||
|
Reference in New Issue
Block a user