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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
    • Environment:
      Jenkins Version: 1.624
      Plugin: view-job-filters-plugin 1.26
      OS: 64bit Linux
      Java: Java 7
    • Similar Issues:
    • Released As:
      2.0.1

      Description

      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.

        Attachments

          Issue Links

            Activity

            slowery23 Steve Lowery created issue -
            Hide
            oleg_nenashev 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

            Show
            oleg_nenashev 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 Oleg Nenashev made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-31341 [ JENKINS-31341 ]
            dudssource Eduardo Gonçalves made changes -
            Link This issue is related to JENKINS-31710 [ JENKINS-31710 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 165070 ] JNJira + In-Review [ 181817 ]
            Hide
            svenschoenung Sven Schoenung added a comment -

            Fixed in 2.0.1.

            Show
            svenschoenung Sven Schoenung added a comment - Fixed in 2.0.1.
            svenschoenung Sven Schoenung made changes -
            Released As 2.0.1
            Assignee Jacob Robertson [ jacob_robertson ] Sven Schoenung [ svenschoenung ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            Hide
            djviking 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.

            Show
            djviking 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.
            Hide
            djviking Sverre Moe added a comment -

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

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

              People

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

                Dates

                Created:
                Updated:
                Resolved: