-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Jenkins: 1.626
IRC Plugin: 2.26
CloudBees Folders Plugin: 4.9
Hello.
I have Jenkins 1.626 installed with CloudBees Folders Plugin. So it allows me to structurize all the jobs in a folder way. I have IRC Plugin installed. And when I write a command in IRC chat to the bot:
!jenkins jobs
It lists only the root jobs. And it doesn't list jobs that are created inside folders. If I try to build a job that are located under a folder - it schedules a build.
So it is clearly "display" issue.
- relates to
-
JENKINS-58926 Refactor bot command CLI and results processing (regex filter, line counts) into a single implementation to be shared by different commands
-
- Open
-
This month new versions of ircbot and instant-messaging-plugin were released, which in particular added awareness about pipeline jobs to the "queue" and "currentlyBuilding" commands, and essence the Java-side change for the plugin code was that the inheritance tree of classes was different so new `import` clauses to add awareness and `instanceof` calls to match a job type were the key to list e.g. pipeline jobs and not only the legacy freestyle ones.
I did not use the folder plugin yet so can't say if its classes are part of the newly added tree (can you please check it out?), or if a similar and relatively simple change has to be made in a subsequent release.
Also, by now only those two commands were changed, so the issue of adding such support to "jobs" (or other mass-management commands, for that matter) still stands indeed. And a counter of output hits too, and a regex filter, like in these two commands
Maybe some refactoring is due to share such code...