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