Title: [41338] trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java: fixed bug: plugin should work with windows slaves
Revision
41338
Author
tbaum
Date
2015-05-27 07:34:42 -0400 (Wed, 27 May 2015)

Log Message

fixed bug: plugin should work with windows slaves

Modified Paths


Diff

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


--- trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java	2015-05-16 22:45:51 UTC (rev 41337)
+++ trunk/hudson/plugins/vncrecorder/src/main/java/org/jenkinsci/plugins/vncrecorder/VncRecorderBuildWrapper.java	2015-05-27 11:34:42 UTC (rev 41338)
@@ -152,7 +152,7 @@
 
 		final VncRecorder vr = new VncRecorder();
 		final Logger vncLogger = vr.getLoggerForPrintStream(listener.getLogger());
-		if (!launcher.isUnix())
+		if (!SystemUtils.IS_OS_UNIX)
 		{
 			listener.fatalError("Feature \"Record VNC session\" works only under Unix/Linux!");
 			return 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.

Reply via email to