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

notifyCommit branch parameter is ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • git-plugin
    • Jenkins 1.620, Git Plugin 2.4.0

      I have a simple Jenkins job called "myjob":

      • Repository URL: git@mygitserver.com:rep
      • Branches to build: master
      • Build Triggers > Poll SCM is enabled

      I execute
      curl http://myjenkinsserver/jenkins/git/notifyCommit?url=git@mygitserver.com:rep&branches=mybranch
      and I get "Scheduled polling of myjob" which is WRONG, because myjob is tracking only the "master" branch (and not mybranch).

      I have hundreds of jobs and I don't want to start Git polling for every new commit.

            ndeloof Nicolas De Loof
            ludwig Ludwig Arnesen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: