-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
ircbot-plugin 3.919.v58f265e8ea_cb_
instant-messaging-plugin 2.772.vb_93c35128ff9
According to IDEA debugging of BuildCommand.getReply() etc., the getJobProvider().getJobByNameOrDisplayName(jobName) operation and the further called methods (all part of instant-messaging-plugin) do somewhere see a list of items[] which contains all the jobs, legacy/freestyle and pipeline ones. However, it only returns hits of legacy job names, and null's for pipeline names.
So, the code looks for AbstractProject items. Pipelines are different...
NOT a low-hanging fruit of a fix: parent class for AbstractProject and WorkflowJob is a Job, but just replacing this in source does not cut it: quite a few core methods and parameterized classes (like AbstractBuild) expect the AbstractProject.
Also, such a brute-force change would break external API of the plugin, since various methods dealing with List<AbstractProject> etc. are public. Not sure if truly consumed - a quick look at ircbot-plugin did not have many hits for AbstractProject ...