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

Git Plugin not finding jobs building on branches with forward slashes

    Details

    • Similar Issues:

      Description

      I have a git repo called uberad-platform. There is a branch in this repo called: jmihalich/bidders/dynamicHosts. When i commit changes to this branch and push to the remote repo, the post receive hook makes the following curl command to the jenkins server:

      curl http://jenkins.ubermedia.com:8080/git/notifyCommit?url=<omitted>:uberad-platform&branches=jmihalich/bidders/dynamicHosts.

      However, jenkins responds with this:

      No git jobs using repository: <omitted>:uberad-platform and branches: jmihalich/bidders/dynamicHosts

      I've attached a screenshot of the relevant portion of the jenkins job showing that it is in fact using the correct branch.

      This was working at some point, and either broke or functionality changed that i'm not aware of. I don't know if this is related specifically to the fact that there is a slash in the branch name or not. All i know is, other jobs that just have a branch name like Production or Stage are found and build correctly when we push to those branches.

      Please advise.

      Thanks,
      Joe

        Attachments

          Activity

          mihalich Joe Mihalich created issue -
          markewaite Mark Waite made changes -
          Field Original Value New Value
          Assignee Mark Waite [ markewaite ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 167740 ] JNJira + In-Review [ 182827 ]
          markewaite Mark Waite made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          markewaite Mark Waite made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          markewaite Mark Waite made changes -
          Status In Review [ 10005 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              mihalich Joe Mihalich
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: