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

Polling with Included Region only trigger a single job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None
    • Jenkins 1.538, Git plugin 2.0

      Two jobs that trigger on git polling with the same repo, refspec & branch start parallel builds as expected.

      But with "Polling... Included Regions: sameRootDir/.*" added to both jobs, only one will be triggered and the other one is ignored.

      With Included Regions, one job executes:
      Nov 13, 2013 1:26:02 PM hudson.plugins.git.GitStatus$JenkinsAbstractProjectListener onNotifyCommit
      INFO: Triggering the polling of FL_TriggTest
      Nov 13, 2013 1:26:02 PM hudson.plugins.git.GitStatus$JenkinsAbstractProjectListener onNotifyCommit
      INFO: Triggering the polling of FL_TriggTest2
      Nov 13, 2013 1:26:03 PM hudson.triggers.SCMTrigger$Runner run
      INFO: SCM changes detected in FL_TriggTest. Triggering #7
      Nov 13, 2013 1:26:11 PM hudson.model.Run execute
      INFO: FL_TriggTest #7 main build action completed: SUCCESS

      Without Included Regions, both job executes:
      Nov 13, 2013 1:33:51 PM hudson.plugins.git.GitStatus$JenkinsAbstractProjectListener onNotifyCommit
      INFO: Triggering the polling of FL_TriggTest
      Nov 13, 2013 1:33:51 PM hudson.plugins.git.GitStatus$JenkinsAbstractProjectListener onNotifyCommit
      INFO: Triggering the polling of FL_TriggTest2
      Nov 13, 2013 1:33:51 PM hudson.triggers.SCMTrigger$Runner run
      INFO: SCM changes detected in FL_TriggTest2. Triggering #1
      Nov 13, 2013 1:33:51 PM hudson.triggers.SCMTrigger$Runner run
      INFO: SCM changes detected in FL_TriggTest. Triggering #8
      Nov 13, 2013 1:33:57 PM hudson.model.Run execute
      INFO: FL_TriggTest #8 main build action completed: SUCCESS
      Nov 13, 2013 1:33:57 PM hudson.model.Run execute
      INFO: FL_TriggTest2 #1 main build action completed: SUCCESS

            Unassigned Unassigned
            efredlo Fredric Lonngren
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: