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

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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • git-plugin
    • None

      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?

          [JENKINS-9945] Git plugin doesn't suppport branch name containing "/"

          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

          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

          Jason Zhang added a comment -

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

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

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

              Created:
              Updated:
              Resolved: