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

git plugin doesn't support branch name contains slash ("/")

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin

      When a branch contains slash , if we try to specify such a branch in "Branch Name" field, it will not be able to fetch such branches. If we leave branch name as **, the job can fetch branch name containing slash without problem.

      I am not a Java person, but this method looks suspicious in Branch.java, just trying to help debug

      private static String strip(String name)

      { return name.substring(name.indexOf('/', 5) + 1); }

          [JENKINS-14026] git plugin doesn't support branch name contains slash ("/")

          Yi Wen created issue -
          sogabe made changes -
          Link New: This issue is duplicated by JENKINS-9945 [ JENKINS-9945 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-14480 [ JENKINS-14480 ]
          Yi Sun made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Karl Ostmo made changes -
          Link New: This issue is duplicated by JENKINS-10575 [ JENKINS-10575 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 144494 ] New: JNJira + In-Review [ 205913 ]

            Unassigned Unassigned
            hayafirst Yi Wen
            Votes:
            4 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: