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

            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.

            People

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

              Dates

                Created:
                Updated:
                Resolved: