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 <[email protected]>
  • Loading branch information
Tibor Vass committed Sep 25, 2019
1 parent ef89d70 commit f3d8b8a
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 f3d8b8a

Please sign in to comment.