feat: docker pull back image #740

Open
alexm wants to merge 46 commits from 6695-docker_push into dev
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 316ca6f97e - Show all commits

2
Jenkinsfile vendored
View File

@ -93,6 +93,8 @@ pipeline {
} }
steps { steps {
sh 'docker pull $IMAGE:$GIT_BRANCH' sh 'docker pull $IMAGE:$GIT_BRANCH'
sh 'docker ps -a'
sh 'docker stop $GIT_BRANCH'
sh 'docker run --name $GIT_BRANCH $IMAGE:$GIT_BRANCH' sh 'docker run --name $GIT_BRANCH $IMAGE:$GIT_BRANCH'
} }
post { post {