Title: [41232] trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java: Improved error handling
Revision
41232
Author
tbaum
Date
2015-02-16 15:47:49 -0500 (Mon, 16 Feb 2015)

Log Message

Improved error handling

Modified Paths


Diff

Modified: trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java (41231 => 41232)


--- trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java	2015-02-13 15:21:07 UTC (rev 41231)
+++ trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java	2015-02-16 20:47:49 UTC (rev 41232)
@@ -84,7 +84,7 @@
 
 	public void setOutFileName(String outFileName)
 	{
-		if (outFileName == null || outFileName.isEmpty())
+		if (outFileName == null || outFileName.isEmpty() || outFileName.equalsIgnoreCase("null"))
 			this.outFileName = "${JOB_NAME}_${BUILD_NUMBER}";
 		else
 			this.outFileName = outFileName;

--
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.

Reply via email to