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

PollSCM does not build on repo change

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Not A Defect
    • Icon: Major Major
    • core
    • None

      I created the Pipeline style of Jenkins job and use GitSCM to check on a jenkinsfile on a specific branch (i.e. sprint_22). The pipeline code has pollSCM("H/10 * * * *") in the triggers {} section.

       

      From the Polling log, it only checks for the master branch (or the default branch I assume?), is there a way to pollscm on the branch that used for building the project?

       

      Our Jenkins is internal only and our code is on GitHub, so there is no way for us to use a webhook solution to trigger a build on each commit.

            Unassigned Unassigned
            hlx98007 Steven Huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: