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

Mission Control regex filter not working for folders

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It appears that the regex filter introduced in JENKINS-34373 does not filter on folders

      For the given list of running jobs:

      We wish a dashboard only showing the cons/ jobs

      A regular expression of ".*master.*" works fine for just showing all master builds.

      However a "cons/.*"  a  "^cons/(.)" or a "^cons\/(.)$" filter as suggested in JENKINS-27270 (for a different plugin) does not work (only results in an empty board)

        Attachments

          Activity

          Hide
          ashevtsov Andrey Shevtsov added a comment -

          Thanks for reporting this. I looked at the code briefly and it does seem that filtering is done only on the job name and the folder name is not taken into account. Will try to release a new version in the next couple of days.

          Show
          ashevtsov Andrey Shevtsov added a comment - Thanks for reporting this. I looked at the code briefly and it does seem that filtering is done only on the job name and the folder name is not taken into account. Will try to release a new version in the next couple of days.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Andrey Shevtsov
          Path:
          src/main/java/tech/andrey/jenkins/missioncontrol/MissionControlView.java
          http://jenkins-ci.org/commit/mission-control-view-plugin/94f9d9ebe0fa8afdb870097a1d91ce1ce33213c9
          Log:
          JENKINS-47527 Run regex filter on full name rather than on job name only

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrey Shevtsov Path: src/main/java/tech/andrey/jenkins/missioncontrol/MissionControlView.java http://jenkins-ci.org/commit/mission-control-view-plugin/94f9d9ebe0fa8afdb870097a1d91ce1ce33213c9 Log: JENKINS-47527 Run regex filter on full name rather than on job name only
          Hide
          ashevtsov Andrey Shevtsov added a comment -

          Just released v0.9.13, regex filter now takes folder name(s) into account.

          You should be able to see the new version in Updates tab in Jenkins Plugins or download it directly from https://repo.jenkins-ci.org/releases/tech/andrey/jenkins/mission-control-view/0.9.13/mission-control-view-0.9.13.hpi

          Show
          ashevtsov Andrey Shevtsov added a comment - Just released v0.9.13, regex filter now takes folder name(s) into account. You should be able to see the new version in Updates tab in Jenkins Plugins or download it directly from https://repo.jenkins-ci.org/releases/tech/andrey/jenkins/mission-control-view/0.9.13/mission-control-view-0.9.13.hpi
          Hide
          lts123 Laust Sorensen added a comment -

          Great We will test it right away

          Show
          lts123 Laust Sorensen added a comment - Great We will test it right away
          Hide
          lts123 Laust Sorensen added a comment -

          Tested and approved - The regex filter for Mission Control now works as we expected

          Thanks for the prompt action

          Show
          lts123 Laust Sorensen added a comment - Tested and approved - The regex filter for Mission Control now works as we expected Thanks for the prompt action

            People

            Assignee:
            ashevtsov Andrey Shevtsov
            Reporter:
            lts123 Laust Sorensen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: