Commit ce407328 authored by 温海元's avatar 温海元

add docker rmi

parent 3991a366
...@@ -745,6 +745,6 @@ def get_sonar_check(systemName,branchName,pipesCallback,sonarCallback,dingRobotA ...@@ -745,6 +745,6 @@ def get_sonar_check(systemName,branchName,pipesCallback,sonarCallback,dingRobotA
def clean_images(imageTag,contextDir) { def clean_images(imageTag,contextDir) {
sh "rm -rf ${contextDir}" sh "rm -rf ${contextDir}"
if(imageTag){ if(imageTag){
// sh "docker rmi -f \$(docker images -q ${imageTag})" sh "docker rmi -f \$(docker images -q ${imageTag})"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment