Log Message
improved error handling
Modified Paths
Diff
Modified: trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java (41281 => 41282)
--- trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java 2015-03-26 16:29:37 UTC (rev 41281)
+++ trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java 2015-03-26 17:08:48 UTC (rev 41282)
@@ -158,6 +158,11 @@
return null;
}
String vncServReplaced = Util.replaceMacro(vncServ,build.getEnvironment(listener));
+ if (vncServReplaced.indexOf(":") > 0 && vncServReplaced.split(":")[1].length() == 4 && vncServReplaced.startsWith("59") )
+ {
+ vncServReplaced = vncServReplaced.replace(":59", ":");
+ }
+
String vncPasswFilePathReplaced = Util.replaceMacro(vncPasswFilePath,build.getEnvironment(listener));
//String outFileBase = build.getEnvironment(listener).get("JOB_NAME") + "_" + build.getEnvironment(listener).get("BUILD_NUMBER") + ".swf";
if (outFileName == null || outFileName.equalsIgnoreCase("null"))
You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
