Created
July 30, 2019 08:34
-
-
Save pablogrs/f5504f57c6efc1d5510139c0233c97c5 to your computer and use it in GitHub Desktop.
Delete all jenkins jobs
This file contains hidden or 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
for(j in jenkins.model.Jenkins.theInstance.getAllItems()) { | |
j.delete() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment