Do not fail if only commands that fail are the cleanup commands
This commit is contained in:
parent
3d178d1c91
commit
25f033dab4
1 changed files with 6 additions and 2 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -172,8 +172,12 @@ pipeline {
|
|||
docker build -t git.zontreck.com/packages/bugvault:latest "$(pwd)"
|
||||
docker push git.zontreck.com/packages/bugvault:latest
|
||||
|
||||
docker rmi -f git.zontreck.com/packages/bugvault:latest
|
||||
docker buildx prune -a -f
|
||||
docker rmi -f git.zontreck.com/packages/bugvault:latest || true
|
||||
docker buildx prune -a -f || true
|
||||
docker rmi git.zontreck.com/packages/flutter:latest || true
|
||||
docker rmi git.zontreck.com/packages/debian:base || true
|
||||
docker builder prune -a -f || true
|
||||
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue