-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
By now there are two copies of CLI loop for argument processing and a regex filter of output lines (and of counting them), in "currentlyBuilding" and "queue" bot commands.
With more commands on the plate that could be improved with these features, it makes sense to rearrange the codebase so this filtering and counting can be implemented in one place, with only the command-specific logic preparing a multiline buffer of text - that is then postprocessed and sent to a IM channel(s) by the common code.
- relates to
-
JENKINS-30124 IRC Plugin bot does not see the Folder (CloudBees Folders Plugin) jobs
- Open