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

view-job-filters-plugin with SCM Job Configuration not working

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Jenkins Version: 1.624
      Plugin: view-job-filters-plugin 1.26
      OS: 64bit Linux
      Java: Java 7
    • 2.0.1

      When the only Job Filters is "Regular Expression Job Filter" with a Match Value of "SCM Job Configuration" using Subversion as the SCM (using the svn:// URL), even when the match value is .*, no jobs show up in the view. I have confirmed it isn't a security issue by creating a brand new svn instance with anonymous read/write access.

      This worked with version 1.567, but is broken with 1.568 and beyond.

          [JENKINS-29991] view-job-filters-plugin with SCM Job Configuration not working

          Oleg Nenashev added a comment -

          It has been broken by JENKINS-31341. To support 1.568..1.635 you would need to add handling of SCMTrigger item into ScmTypeFilter and RegExJobFilter

          Oleg Nenashev added a comment - It has been broken by JENKINS-31341 . To support 1.568..1.635 you would need to add handling of SCMTrigger item into ScmTypeFilter and RegExJobFilter

          Fixed in 2.0.1.

          Sven Schoenung added a comment - Fixed in 2.0.1.

          Sverre Moe added a comment - - edited

          We are using Jenkins LTS 2.222.3 and this does not work for Multibranch Pipelines.

          The SCM filtering does not work as documented

          Regular Expression Job Filter:
          * SCM Configuration - this one is perhaps the best bang for the buck - put in something like "./my-office-name/." to automatically include all jobs that are organized under source control already by office.
          

          At least it does not work for the URL we are using ssh://git@git.company.com/namespace/project.git
          regex: ./namespace/.
          It does not filter using this configuration. I have also tried with other regex patterns.

          Sverre Moe added a comment - - edited We are using Jenkins LTS 2.222.3 and this does not work for Multibranch Pipelines. The SCM filtering does not work as documented Regular Expression Job Filter: * SCM Configuration - this one is perhaps the best bang for the buck - put in something like "./my-office-name/." to automatically include all jobs that are organized under source control already by office. At least it does not work for the URL we are using ssh://git@git.company.com/namespace/project.git regex: ./namespace/. It does not filter using this configuration. I have also tried with other regex patterns.

          Sverre Moe added a comment -

          I looked at the source code for the plugin. It does not support Pipeline og Multibranch Pipeline project.

          Sverre Moe added a comment - I looked at the source code for the plugin. It does not support Pipeline og Multibranch Pipeline project.

            svenschoenung Sven Schoenung
            slowery23 Steve Lowery
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: