Merge pull request from milvus-ci-robot/0.5.0

Fix Jenkins CI remove local docker images bug

Former-commit-id: 26c34040313ba8eae2e83bffd197023ef9b03261
pull/191/head
Jin Hai 2019-10-17 20:31:19 +08:00 committed by GitHub
commit e03985354a
1 changed files with 0 additions and 5 deletions
ci/jenkins/jenkinsfile

View File

@ -37,11 +37,6 @@ container('publish-images') {
if (isExistImage == 0) {
sh "docker rmi ${imageName}"
}
isExistImage = sh(returnStatus: true, script: "docker inspect --type=image ${dockerRegistryURL}/${imageName} 2>&1 > /dev/null")
if (isExistImage == 0) {
sh "docker rmi ${dockerRegistryURL}/${imageName}"
}
}
}
}