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

Jobs are triggered twice occasionally

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • 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
            sangeetawakhale sangeeta wakhale added a comment -

            This issue is fixed for me by doing below:

            Define the downstream job name in upstream job using either Build other projects OR Trigger parameterized build on other projects.

            Removed the upstream job name in downstream job defined by Build Triggers>Build after other projects are built

             

            Show
            sangeetawakhale sangeeta wakhale added a comment - This issue is fixed for me by doing below: Define the downstream job name in upstream job using either Build other projects OR Trigger parameterized build on other projects. Removed the upstream job name in downstream job defined by Build Triggers>Build after other projects are built  
            Hide
            suni sunitha prabhu added a comment -

            I still see this issue. Do we have any workaround for this?  @Sangeeta - I don't understand your workaround.  can you please explain in detail

            Show
            suni sunitha prabhu added a comment - I still see this issue. Do we have any workaround for this?  @Sangeeta - I don't understand your workaround.  can you please explain in detail
            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" 

              People

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

                Dates

                • Created:
                  Updated: