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

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

    Details

    • Type: Bug
    • Status: Closed (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

            qzhjason Jason Zhang created issue -
            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.
            sogabe sogabe made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-14026 [ JENKINS-14026 ]
            sogabe sogabe made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 140133 ] JNJira + In-Review [ 188863 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              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: