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

Github Organization Folder does filter out PR branches

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • None
    • jenkins 2.60.1, github branch source plugin 2.2.3

      Hi everyone,

      we use the following configuration within a github organization folder:

      Discover branches
           
        Strategy Exclude branches that are also filed as PRsOnly branches that are also filed as PRsAll branches
       
      Discover pull requests from origin
           
        Strategy Merging the pull request with the current target branch revisionThe current pull request revisionBoth the current pull request revision and the pull request merged with the current target branch revision
           
       
      Filter by name (with wildcards)  
        Include  
       master dev release    
           
        Exclude

       

      As you can see, we are trying to build all branches filed as pull requests. Also, we are trying to build our master, dev and release branches in all projects. This configuration worked great so far, but suddenly stopped working when we recently upgraded our plugins. It seems like that from now on, the wildcard filtering also filters out branches filed as PRs - which is somewhat counterintuitive for us.

       

      Regards,

       

      Tobi

            kohsuke Kohsuke Kawaguchi
            tobilarscheid Tobias Larscheid
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: