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

URLTrigger plugin polling doesn't honor "Execute concurrent builds if necessary"

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • urltrigger-plugin
    • None
    • java version "1.7.0_25"
      Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
      Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
      Jenkins 1.518
      URLTrigger 0.35

      For jobs with "Execute concurrent builds if necessary" enabled, I would expect URL trigger to poll according to the configured schedule regardless of whether a job is running. Currently, the URLTrigger Log shows "The job is building. Waiting for next poll." instead. As a result builds are never triggered concurrently.

          [JENKINS-19854] URLTrigger plugin polling doesn't honor "Execute concurrent builds if necessary"

          Tony Noble added a comment -

          I'm not convinced this should be default behaviour - nothing prevents the job from running concurrently if triggered manually, but it was a specific design choice not to poll for changes while a run was in progress.

          Perhaps a better solution would be to add an option that allows polling while builds are progressing.  This would default to unchecked to maintain existing behaviour.

          Tony Noble added a comment - I'm not convinced this should be default behaviour - nothing prevents the job from running concurrently if triggered manually, but it was a specific design choice not to poll for changes while a run was in progress. Perhaps a better solution would be to add an option that allows polling while builds are progressing.  This would default to unchecked to maintain existing behaviour.

            stealthdj Tony Noble
            coreypobrien Corey O'Brien
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: