[JIRA] [ircbot-plugin] (JENKINS-30124) IRC Plugin bot does not see the Folder (CloudBees Folders Plugin) jobs

0 views
Skip to first unread message

shakitko@gmail.com (JIRA)

unread,
Aug 25, 2015, 7:40:01 AM8/25/15
to jenkinsc...@googlegroups.com
Ilia Shakitko created an issue
 
Jenkins / Bug JENKINS-30124
IRC Plugin bot does not see the Folder (CloudBees Folders Plugin) jobs
Issue Type: Bug Bug
Assignee: kutzi
Components: ircbot-plugin
Created: 25/Aug/15 11:39 AM
Priority: Minor Minor
Reporter: Ilia Shakitko

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.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

jimklimov@gmail.com (JIRA)

unread,
Aug 14, 2019, 7:37:02 AM8/14/19
to jenkinsc...@googlegroups.com
Jim Klimov commented on Bug JENKINS-30124
 
Re: IRC Plugin bot does not see the Folder (CloudBees Folders Plugin) jobs

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...

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jimklimov@gmail.com (JIRA)

unread,
Aug 14, 2019, 7:37:04 AM8/14/19
to jenkinsc...@googlegroups.com
Jim Klimov updated an issue
 
Change By: Jim Klimov
Component/s: instant-messaging-plugin

jimklimov@gmail.com (JIRA)

unread,
Aug 14, 2019, 7:40:01 AM8/14/19
to jenkinsc...@googlegroups.com
 
Re: IRC Plugin bot does not see the Folder (CloudBees Folders Plugin) jobs

Also, with pipelines (MultiBranch jobs, with configs generated for many branches and PRs across many repos in several organizations our local Jenkins master tracks), a full "jobs" listing for us would be impractical at several thousand lines long (and throttled IIRC to 0.5sec per line posting to an IRC server to avoid flood controls killing the session) so it was not a priority for me to address in our deployment.

Reply all
Reply to author
Forward
0 new messages