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

(Re)-implement scan name filtering for PR, branches & forks individually

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • None
    • github-branch-source 2.2.3

      Since deploying 2.2.3 from 2.0.8 I have discovered that the branch filtering applies to PR, branch scans & forks, whereas before 2.2.3 this appeared to only be applied to branch scanning.

      What this means is that if you apply a filter it is applied to PR, branch & fork scans.

      In my use case I:

      • Want to build all PR's (not their branches though) - meaning that I have to not have a filter
      • Want to ignore all branches except for named ones like say master - so I need a filter, but can't have one if I want to build PR's

      This is because we run a deployment workflow on a push to the master branch vs. PR's

      Can the filtering based on name be applied to each of the Branch, PR or Fork scanning options so that things can be a little more flexible please?

      At the moment if I want to retain the functionality as it was in 2.0.8 I have to only build PR's & I have to make another Jenkins job to just build certain branches

      & no I don't to build every branch, we only want to build when a PR is made

            Unassigned Unassigned
            nullify005 Lee Webb
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: