devops-exercises/topics/jenkins_scripts.md

12 lines
330 B
Markdown
Raw Normal View History

2019-10-18 14:15:20 +02:00
## Jenkins Scripts
Write the following scripts:
* Remove all the jobs which include the string "REMOVE_ME" in their name
2019-10-19 22:48:17 +02:00
* Remove builds older than 14 days
### Answer
* [Remove jobs which include specific string](jenkins/scripts/jobs_with_string.groovy)
* [Remove builds older than 14 days](jenkins/scripts/old_builds.groovy)