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

Github Plugin triggers duplicate builds

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved: