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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • git-plugin
    • None

    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 -
            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

            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
            qzhjason Jason Zhang added a comment -

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

            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 -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 140133 ] JNJira + In-Review [ 188863 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: