devops-exercises/exercises/jenkins_scripts.md
abregman d43ec162f0 Rename repository
Unforunately, It came to my knowledge that this repository
promoted a phenomenon where DevOps interviews became a trivia game
where people think it's normal to throw 20 random short questions
like "what is fork()" or "which tools would you use for each
of the following areas?" and this was not my intention.

To explcitly state this repository doesn't represents real DevOps
interview questions I've decided to rename it.
2020-01-12 22:28:43 +02:00

12 lines
330 B
Markdown

## Jenkins Scripts
Write the following scripts:
* Remove all the jobs which include the string "REMOVE_ME" in their name
* 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)