Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58926

Refactor bot command CLI and results processing (regex filter, line counts) into a single implementation to be shared by different commands

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            jimklimov Jim Klimov created issue -
            jimklimov Jim Klimov made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-30124 [ JENKINS-30124 ]

              People

              Assignee:
              jimklimov Jim Klimov
              Reporter:
              jimklimov Jim Klimov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: