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

Pipeline always poll the last build branch only

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None

      We have a few single pipeline job that is setup to run when changes in different project folder happen. It will get instructed to poll when a `curl http://ourjenkins/git/notifyCommit?url=git_url` happen.

      ```
      Repo/
          ProjectA/

          ProjectB/

      ```

      We have set branches to build to be `any`, however, it always only polls the last build branch instead of the latest branch.

          [JENKINS-46416] Pipeline always poll the last build branch only

          Zac Kwan created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Component/s New: branch-api-plugin [ 18621 ]
          Component/s New: scm-api-plugin [ 18054 ]
          Component/s Original: git-plugin [ 15543 ]
          Andrew Bayer made changes -
          Summary Original: Declarative Pipeline always poll the last build branch only New: Pipeline always poll the last build branch only
          Stephen Connolly made changes -
          Component/s New: git-plugin [ 15543 ]
          Component/s Original: branch-api-plugin [ 18621 ]
          Component/s Original: scm-api-plugin [ 18054 ]

            Unassigned Unassigned
            zac_kwan Zac Kwan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: