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

Using regular expression to specify what jobs to include does not seem to work

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When trying to use a regular expression to select jobs to include in this view, no jobs are shown.

      E g a regular expression of tsas., or ^tsas. yields empty list although it should not since there is a job named "tsas_multibranch_pipe".

        Attachments

          Activity

          Hide
          paul8620 Paul Horvath added a comment -

          Thanks for noticing, actual a nice catch. The filter won't work since the multibranch is in fact a folder and the filter is done at job level. If you try ^somebranch it will work, but it should work for folder filters as well

          Show
          paul8620 Paul Horvath added a comment - Thanks for noticing, actual a nice catch. The filter won't work since the multibranch is in fact a folder and the filter is done at job level. If you try ^somebranch it will work, but it should work for folder filters as well
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: paul
          Path:
          pom.xml
          src/main/java/com/ooyala/jenkins/plugins/pipelineaggregatorview/PipelineAggregator.java
          src/main/resources/com/ooyala/jenkins/plugins/pipelineaggregatorview/PipelineAggregator/index.jelly
          src/main/webapp/js/pipeline-aggregator.js
          http://jenkins-ci.org/commit/pipeline-aggregator-view-plugin/c72fc08c3534979ac3a1cef26b0a82ac6169f484
          Log:
          fixed JENKINS-41749

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: paul Path: pom.xml src/main/java/com/ooyala/jenkins/plugins/pipelineaggregatorview/PipelineAggregator.java src/main/resources/com/ooyala/jenkins/plugins/pipelineaggregatorview/PipelineAggregator/index.jelly src/main/webapp/js/pipeline-aggregator.js http://jenkins-ci.org/commit/pipeline-aggregator-view-plugin/c72fc08c3534979ac3a1cef26b0a82ac6169f484 Log: fixed JENKINS-41749
          Hide
          paul8620 Paul Horvath added a comment -

          Fixed in the latest version

          Show
          paul8620 Paul Horvath added a comment - Fixed in the latest version
          Hide
          postman Per Östman added a comment -

          Does this mean it should be fixed in 1.4?
          How would one specify a filter that would only show particular branches of a multibranch pipeline job ?

          Show
          postman Per Östman added a comment - Does this mean it should be fixed in 1.4? How would one specify a filter that would only show particular branches of a multibranch pipeline job ?
          Hide
          paul8620 Paul Horvath added a comment -

          the version is 1.6 and the regex for that is: 

          tools.(master|dev|test).{1}#[0-9]

          the 1.5 fixes your bug though but doesn't allow further filtering on branch name that's fixed in version 1.6

           

          Show
          paul8620 Paul Horvath added a comment - the version is 1.6 and the regex for that is:  tools. (master|dev|test).{1}# [0-9] the 1.5 fixes your bug though but doesn't allow further filtering on branch name that's fixed in version 1.6  

            People

            Assignee:
            paul8620 Paul Horvath
            Reporter:
            postman Per Östman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: