Yi Wen created JENKINS-14026:
--------------------------------

             Summary: git plugin doesn't support branch name contains slash 
("/")
                 Key: JENKINS-14026
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-14026
             Project: Jenkins
          Issue Type: Bug
          Components: git
            Reporter: Yi Wen


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);
    }
    

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to