Skip to content

Commit

Permalink
Jenkinsfile: move integration step cleanup to amd64 where it was inte…
Browse files Browse the repository at this point in the history
…nded to be

Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit f3d8b8a)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
Tibor Vass authored and thaJeztah committed Sep 26, 2019
1 parent 183cac2 commit dfadf72
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ pipeline {
always {
sh '''
echo "Ensuring container killed."
docker rm -vf docker-pr$BUILD_NUMBER || true
cids=$(docker ps -aq -f name=docker-pr${BUILD_NUMBER}-*)
[ -n "$cids" ] && docker rm -vf $cids || true
'''

sh '''
Expand Down Expand Up @@ -701,8 +702,6 @@ pipeline {
sh '''
echo "Ensuring container killed."
docker rm -vf docker-pr$BUILD_NUMBER || true
cids=$(docker ps -aq -f name=docker-pr${BUILD_NUMBER}-*)
[ -n "$cids" ] && docker rm -vf $cids || true
'''

sh '''
Expand Down

0 comments on commit dfadf72

Please sign in to comment.