Clean up agent1
This commit is contained in:
parent
2b4aa5e931
commit
29c2dca9db
|
@ -1,7 +1,5 @@
|
|||
pipeline {
|
||||
agent {
|
||||
label 'agent2'
|
||||
}
|
||||
agent any
|
||||
|
||||
triggers {
|
||||
cron("59 23 * * 1") // Clean up every monday
|
||||
|
@ -12,6 +10,9 @@ pipeline {
|
|||
}
|
||||
|
||||
stages {
|
||||
agent {
|
||||
label 'agent1'
|
||||
}
|
||||
stage('Clean docker images') {
|
||||
steps {
|
||||
sh 'docker system prune -a -f'
|
||||
|
|
Loading…
Reference in New Issue