mirror of https://github.com/google/oss-fuzz.git
[infra] docker-cleanup definition
This commit is contained in:
parent
b9ffe9ad5f
commit
378620903e
|
@ -16,12 +16,12 @@
|
||||||
|
|
||||||
// Jenkins build script for periodic docker images cleanup.
|
// Jenkins build script for periodic docker images cleanup.
|
||||||
|
|
||||||
step "Cleanup Processes", concurrency: 1
|
stage "Cleanup Processes", concurrency: 1
|
||||||
node {
|
node {
|
||||||
sh "docker rm \$(docker ps -a -q) || true"
|
sh "docker rm \$(docker ps -a -q) || true"
|
||||||
}
|
}
|
||||||
|
|
||||||
step "Cleanup Images", concurrency: 1
|
stage "Cleanup Images", concurrency: 1
|
||||||
node {
|
node {
|
||||||
sh "docker rmi \$(docker images -q -f dangling=true) || true"
|
sh "docker rmi \$(docker images -q -f dangling=true) || true"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue