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

Github Plugin triggers duplicate builds

    XMLWordPrintable

Details

    Description

      Testscenario:

      Setup Hook with github.

      Push branch change to github => build will be triggered (OK!)
      inside the build, create a tag of that build and push it to github => another build will be triggered (FAIL!)

      Output of github-hook-log:

      ```
      Started on 29.12.2013 13:28:36
      Polling SCM changes on master
      Using strategy: Default
      [poll] Last Built Revision: Revision 20b251f792fe8d0f180395c3457db5be3a75b077 (origin/master)
      Done. Took 2,9 Sekunden
      Changes found
      ```

      it seems that it "always" finds changes, even if the sha of the revision is always the same???

      It also triggers builds if you change a different branch than specified in "branches to build"-list

      Attachments

        Activity

          flow86 Florian Doersch created issue -

          Are you sure that you have no enabled other Triggers for this job?

          integer Kanstantsin Shautsou added a comment - Are you sure that you have no enabled other Triggers for this job?
          integer Kanstantsin Shautsou made changes -
          Field Original Value New Value
          Resolution Incomplete [ 4 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 153034 ] JNJira + In-Review [ 194442 ]

          People

            Unassigned Unassigned
            flow86 Florian Doersch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: