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

Git plugin doesn't suppport branch name containing "/"

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Our dev team have some branches in Git with name such as "integration/(branch1)", "integration/(branch1)/1.1". Git returned "ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
      ". Is this a known issue?

        Attachments

          Issue Links

            Activity

            Hide
            kevinsawicki Kevin Sawicki added a comment -

            Are your jobs setup to build specific branches or all branches (**)? Did you try adding the remote name before the branch name?

            Such as:

            origin/integration/branch1
            origin/integration/branch1/1.1

            Show
            kevinsawicki Kevin Sawicki added a comment - Are your jobs setup to build specific branches or all branches (**)? Did you try adding the remote name before the branch name? Such as: origin/integration/branch1 origin/integration/branch1/1.1
            Hide
            qzhjason Jason Zhang added a comment -

            Adding remote name works for me. Thanks for your help. We could close this ticket.

            Show
            qzhjason Jason Zhang added a comment - Adding remote name works for me. Thanks for your help. We could close this ticket.

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                qzhjason Jason Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: