Created
September 16, 2015 14:55
-
-
Save VictorCabello/77a3f9191a299ec22dec to your computer and use it in GitHub Desktop.
Jenkins script to list all views and their content
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
Jenkins.instance.views.each { | |
view -> | |
println "${view.name}" | |
view.items.each { | |
item -> | |
println "\t- ${item.name}" | |
} | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment