Last active
August 29, 2015 14:07
-
-
Save sergeyhush/0df23f96e4c67df68c16 to your computer and use it in GitHub Desktop.
Delete all Jenkins jobs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(hudson.model.Hudson.instance.items.findAll { job -> job.delete() }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment