list top level items in the controller#209
list top level items in the controller#209KevinRealAlcalde wants to merge 1 commit intocloudbees:masterfrom
Conversation
duemir
left a comment
There was a problem hiding this comment.
It looks like it is skipping Multibranch Pipelines and Organization folders
Why is this needed?
|
The objective of this script is to avoid counting how many Jobs you have in a big cluster. Multibranch and Organization folders are counted but only as 1 regardless the amount of repos/branches inside, because as said, the objective is to retrieve the amount of jobs in the cluster |
|
I am bit confused too here. By top level items, do you mean TopLevelItem objects ? Or items at the Jenkins root ? Seems to me that we could simply use |
|
The script does not retrieve only Items at the Jenkins root. iterating |
|
I still don't see the point and am confused by the script's output. Who is going to use this script and why? What is the story behind it? |
No description provided.