Jenkinsfile: move integration step cleanup to amd64 where it was intended to be

Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit f3d8b8ae74)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Tibor Vass 2019-09-24 23:40:33 +00:00 committed by Sebastiaan van Stijn
parent 183cac25f9
commit dfadf729d3
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

5
Jenkinsfile vendored
View file

@ -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 '''
@ -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 '''