notifyCommit branch parameter is ignored

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Nicolas De Loof
            Reporter:
            Ludwig Arnesen
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: