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

notifyCommit branch parameter can't contain slashes

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: git-plugin
    • Labels:
    • Environment:
      Jenkins 1.620, Git Plugin 2.4.0
    • Similar Issues:

      Description

      I have a simple Jenkins job called "myjob":

      Repository URL: git://github.com/jenkinsci/git-client-plugin.git
      Branches to build: tests/getSubmodules
      Build Triggers > Poll SCM is enabled

      I execute

      curl -s http://myjenkinssrv/jenkins/git/notifyCommit -d url=git://github.com/jenkinsci/git-client-plugin.git -d branches=tests/getSubmodules

      and I get

      No git jobs using repository: git://github.com/jenkinsci/git-client-plugin.git and branches: tests/getSubmodules

      This is wrong! If I configure my job with "Branches to build"=master and call

      curl -s http://myjenkinssrv/jenkins/git/notifyCommit -d url=git://github.com/jenkinsci/git-client-plugin.git -d branches=master

      it works, as expected.

        Attachments

          Activity

          ludwig Ludwig Arnesen created issue -
          ludwig Ludwig Arnesen made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          ludwig Ludwig Arnesen made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 164485 ] JNJira + In-Review [ 181635 ]
          markewaite Mark Waite made changes -
          Assignee Nicolas De Loof [ ndeloof ]

            People

            • Assignee:
              Unassigned
              Reporter:
              ludwig Ludwig Arnesen
            • Votes:
              5 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated: