diff --git a/infra/docker-cleanup/Jenkinsfile b/infra/docker-cleanup/Jenkinsfile index 5693374df..aaa505007 100644 --- a/infra/docker-cleanup/Jenkinsfile +++ b/infra/docker-cleanup/Jenkinsfile @@ -16,12 +16,12 @@ // Jenkins build script for periodic docker images cleanup. -step "Cleanup Processes", concurrency: 1 +stage "Cleanup Processes", concurrency: 1 node { sh "docker rm \$(docker ps -a -q) || true" } -step "Cleanup Images", concurrency: 1 +stage "Cleanup Images", concurrency: 1 node { sh "docker rmi \$(docker images -q -f dangling=true) || true" }