Last active
July 31, 2024 09:16
-
-
Save clifford-github/7748223 to your computer and use it in GitHub Desktop.
Get list of Jobs in a View Groovy from within Jenkins. Run the following snippet in the Scripting console or a Groovy build step. The latter requires the installation of the Groovy plugin
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.getView('<VIEW>').items.each() { | |
println it.fullDisplayName | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment