Skip to content
Snippets Groups Projects
Unverified Commit dc425a95 authored by Sebastian Höffner's avatar Sebastian Höffner
Browse files

Updating build pipeline for more reliable deployments.

parent 72927e8c
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ pipeline {
stages {
stage('build') {
steps {
sh 'docker build . -t web-openccg:$(git rev-parse --short HEAD)'
sh 'docker build . --no-cache -t web-openccg:$(git rev-parse --short HEAD)'
}
}
......@@ -25,7 +25,7 @@ pipeline {
stage('deploy') {
steps {
sh 'docker-compose -p litmus up -d --force-recreate'
sh 'docker-compose --project-name litmus up --detach --renew-anon-volumes --force-recreate'
}
when {
branch 'master'
......@@ -40,3 +40,4 @@ pipeline {
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment