2024-09-29 01:10:32 -04:00
|
|
|
pipeline {
|
2024-12-24 10:11:32 -05:00
|
|
|
agent {
|
|
|
|
label 'agent2'
|
|
|
|
}
|
2024-09-29 01:10:32 -04:00
|
|
|
|
|
|
|
triggers {
|
2025-01-16 11:08:33 -05:00
|
|
|
cron("* 0 * * 1")
|
2024-09-29 01:10:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
options {
|
|
|
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
|
|
|
}
|
|
|
|
|
|
|
|
stages {
|
2024-10-11 08:31:26 -04:00
|
|
|
stage('Clean docker images') {
|
2024-11-16 07:48:06 -05:00
|
|
|
agent {
|
2025-01-05 00:19:59 -05:00
|
|
|
label 'agent2'
|
2024-11-16 07:48:06 -05:00
|
|
|
}
|
2024-09-29 01:10:32 -04:00
|
|
|
steps {
|
|
|
|
sh 'docker system prune -a -f'
|
|
|
|
sh 'docker network prune -f'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|