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

Jobs are triggered twice occasionally

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
      None
    • Environment:
      Master: Hudson ver. 1.363, RHEL Linux 2.6.18-164.el5
      Slaves: RHEL Linux 2.6.9-55.0.2.ELhugemem & Windows XP SP3
    • Similar Issues:

      Description

      After Hudson update from version 1.361 to 1.363 we occasionally see jobs being triggered twice. This seems to happen in both cases, when upstream job triggers downstream job, and remotely triggering a job via curl in a script.

      All of our jobs are free-style jobs.

        Attachments

          Issue Links

            Activity

            Hide
            shiluveru Bharath Shiluveru added a comment -

            I'm also seeing the same issue. 

            updating issue description for others:

            Downstream job is getting invoked twice when 'Trigger parameterized build on other projects' option is selected in upstream project.

            If anybody found a solution or workaround to mitigate this, please post.

            Show
            shiluveru Bharath Shiluveru added a comment - I'm also seeing the same issue.  updating issue description for others: Downstream job is getting invoked twice when ' Trigger parameterized build on other projects ' option is selected in upstream project. If anybody found a solution or workaround to mitigate this, please post.
            Hide
            shiluveru Bharath Shiluveru added a comment -

            I have tried steps mentioned by  sangeeta wakhale , this got resolved.

            Thanks !

            Show
            shiluveru Bharath Shiluveru added a comment - I have tried steps mentioned by   sangeeta wakhale , this got resolved. Thanks !
            Hide
            samt Sam Talebbeik added a comment -

            Thanks sangeeta wakhale for the tip. Your workaround fixed the issue.

            My "upstream job" was triggering a "downstream job" twice all the time using "Trigger parametrized build on other projects" plugin. My Jenkins version is 2.73.2

            I had to go to the "downstream job" -> Build Trigger -> remove "Build after other projects are built" 

            Show
            samt Sam Talebbeik added a comment - Thanks sangeeta wakhale for the tip. Your workaround fixed the issue. My "upstream job" was triggering a "downstream job" twice all the time using "Trigger parametrized build on other projects" plugin. My Jenkins version is 2.73.2 I had to go to the "downstream job" -> Build Trigger -> remove "Build after other projects are built" 
            Hide
            slide_o_mix Alex Earl added a comment -

            It looks like this was mainly improper upstream/downstream job relationships that were defined.

            Show
            slide_o_mix Alex Earl added a comment - It looks like this was mainly improper upstream/downstream job relationships that were defined.
            Hide
            jayanmn Jayan MN added a comment -

            I was searching for another issue but this masked it. Adding a link if that helps someone : https://issues.jenkins-ci.org/browse/JENKINS-58296  Projects are triggered twice when using File Parameter and Firefox 67

            Show
            jayanmn Jayan MN added a comment - I was searching for another issue but this masked it. Adding a link if that helps someone :  https://issues.jenkins-ci.org/browse/JENKINS-58296   Projects are triggered twice when using File Parameter and Firefox 67

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                tiainpa tiainpa
              • Votes:
                22 Vote for this issue
                Watchers:
                27 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: