Skip to content

Commit

Permalink
add git to URL matcher for JENKINS-13243
Browse files Browse the repository at this point in the history
  • Loading branch information
achengs committed May 15, 2013
1 parent 3c8ade8 commit 8b564d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/xshell/XShellBuilder.java
Expand Up @@ -116,7 +116,7 @@ public static String convertSeparator(String cmdLine, String newSeparator) {
String replacement = Matcher.quoteReplacement(newSeparator);

Pattern words = Pattern.compile("\\S+");
Pattern urls = Pattern.compile("(https*|ftp):");
Pattern urls = Pattern.compile("(https*|ftp|git):");
StringBuffer sb = new StringBuffer();
Matcher m = words.matcher(cmdLine);
while (m.find()) {
Expand Down

0 comments on commit 8b564d1

Please sign in to comment.