Clean up the right agent every 15 minutes
This commit is contained in:
parent
8c6a500563
commit
539517ebe9
|
@ -10,10 +10,10 @@ pipeline {
|
|||
}
|
||||
|
||||
stages {
|
||||
agent {
|
||||
label 'agent1'
|
||||
}
|
||||
stage('Clean docker images') {
|
||||
agent {
|
||||
label 'agent1'
|
||||
}
|
||||
steps {
|
||||
sh 'docker system prune -a -f'
|
||||
sh 'docker network prune -f'
|
||||
|
|
Loading…
Reference in New Issue