Log Message
improved error handling
Modified Paths
Diff
Modified: trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java (41228 => 41229)
--- trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java 2015-02-13 14:20:52 UTC (rev 41228)
+++ trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java 2015-02-13 14:23:08 UTC (rev 41229)
@@ -72,7 +72,7 @@
this.vncServ = vncServ;
this.vncPasswFilePath = vncPasswFilePath;
this.setDisplay = setDisplay;
- this.removeIfSuccessful = removeIfSuccessful;
+ this.setRemoveIfSuccessful(removeIfSuccessful);
this.setOutFileName(outFileName);
}
@@ -120,8 +120,12 @@
}
- public void setRemoveIfSuccessful(Boolean removeIfSuccessful) {
- this.removeIfSuccessful = removeIfSuccessful;
+ public void setRemoveIfSuccessful(Boolean removeIfSuccessful)
+ {
+ if (removeIfSuccessful == null)
+ this.removeIfSuccessful = false;
+ else
+ this.removeIfSuccessful = removeIfSuccessful;
}
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 jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.