提交 e0398535 编写于 作者: J Jin Hai 提交者: GitHub

Merge pull request #34 from milvus-ci-robot/0.5.0

Fix Jenkins CI remove local docker images bug

Former-commit-id: 26c34040313ba8eae2e83bffd197023ef9b03261
......@@ -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}"
}
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册