Add full clean on Jenkinsfile
This commit is contained in:
parent
4bcb084427
commit
e2b76e47b3
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -16,10 +16,10 @@ node {
|
|||||||
* Second, the 'latest' tag.
|
* Second, the 'latest' tag.
|
||||||
* Pushing multiple tags is cheap, as all the layers are reused. */
|
* Pushing multiple tags is cheap, as all the layers are reused. */
|
||||||
app.push()
|
app.push()
|
||||||
app.push("${env.BUILD_NUMBER}")
|
app.push("${env.BUILD_NUMBER}")
|
||||||
|
|
||||||
}
|
}
|
||||||
stage('Cleaning'){
|
stage('Cleaning'){
|
||||||
sh "docker image prune -f"
|
sh "docker image prune -f -a"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user