Add full clean on Jenkinsfile

This commit is contained in:
BrokenFire 2018-02-18 19:58:15 +01:00
parent 4bcb084427
commit e2b76e47b3

4
Jenkinsfile vendored
View File

@ -16,10 +16,10 @@ node {
* Second, the 'latest' tag.
* Pushing multiple tags is cheap, as all the layers are reused. */
app.push()
app.push("${env.BUILD_NUMBER}")
app.push("${env.BUILD_NUMBER}")
}
stage('Cleaning'){
sh "docker image prune -f"
sh "docker image prune -f -a"
}
}