Skip to content

Commit

Permalink
[JENKINS-25002] Limit the split function on 2 so that paths with : ca…
Browse files Browse the repository at this point in the history
…n be used
  • Loading branch information
mrdfuse committed Oct 6, 2014
1 parent e56c561 commit 4081439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/main/java/hudson/plugins/swarm/PluginImpl.java
Expand Up @@ -81,7 +81,7 @@ private List<ToolLocation> parseToolLocations(String toolLocations) {
String[] toolLocsArray = toolLocations.split(" ");
for (String toolLocKeyValue : toolLocsArray) {
boolean found = false;
String[] toolLoc = toolLocKeyValue.split(":");
String[] toolLoc = toolLocKeyValue.split(":", 2);

for (ToolDescriptor<?> desc : ToolInstallation.all()) {
for (ToolInstallation inst : desc.getInstallations()) {
Expand Down

0 comments on commit 4081439

Please sign in to comment.