Skip to content

Commit

Permalink
Merge pull request #103 from timja/patch-2
Browse files Browse the repository at this point in the history
Stop `buildPlugin` cleanup error log on ACI (regression in 1.1.0)
  • Loading branch information
oleg-nenashev authored Aug 15, 2019
2 parents 53f30fa + 04036a6 commit f23fffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/buildPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def call(Map params = [:]) {
} finally {
deleteDir()

if (isUnix() || hasDockerLabel()) {
if (hasDockerLabel()) {
sh 'docker system prune --force --all || echo "Failed to cleanup docker images"'
}
}
Expand Down

0 comments on commit f23fffe

Please sign in to comment.