Skip to content
Browse files
[JENKINS-8996] Include OS type and version of slave in the system inf…
…ormation page.
  • Loading branch information
PaulSandoz committed Mar 13, 2011
1 parent 779e113 commit 51beb723e6eed8c17dd425f885fedf49b6f41da4
@@ -91,6 +91,9 @@
Added an option to aggregated test results to include failed builds as well as passing and unstable builds.
<li class=rfe>
Added autocompletion to "Build after other projects" textbox, with support for "autoCompleteField" on textboxes without a true field.
<li class=rfe>
Include OS type and version of slave in the system information page.
(<a href="">issue 8996</a>)

@@ -514,6 +514,20 @@ protected ComputerLauncher grabLauncher(Node node) {
return ((Slave)node).getLauncher();

* Get the slave version
public String getSlaveVersion() throws IOException, InterruptedException {
return SlaveVersion());

* Get the OS description.
public String getOSDescription() throws IOException, InterruptedException {
return DetectOS()) ? "Unix" : "Windows";

private static final Logger logger = Logger.getLogger(SlaveComputer.class.getName());

private static final class SlaveVersion implements Callable<String,IOException> {
@@ -33,6 +33,7 @@ THE SOFTWARE.

<h1>${it.oSDescription} slave, version ${it.slaveVersion}</h1>
<h1>${%System Properties}</h1>
<t:propertyTable items="${it.systemProperties}" />
<h1>${%Environment Variables}</h1>

0 comments on commit 51beb72

Please sign in to comment.