mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Merge pull request #34 from milvus-ci-robot/0.5.0
Fix Jenkins CI remove local docker images bug Former-commit-id: 26c34040313ba8eae2e83bffd197023ef9b03261
This commit is contained in:
commit
e03985354a
@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user