Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions manifests/slave.pp
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,6 @@
windows_common::configuration::feature { 'NET-Framework-Features':
ensure => present,
}

#
# Bug - need to modify windows_java to export the java_path variable
#
#$java_path = ${::java::params::java_path}
$java_path = "${systemdrive}\\Program Files\\Java\\jre7\\bin"

file { $slave_home:
ensure => directory,
Expand Down
2 changes: 1 addition & 1 deletion templates/jenkins-slave.xml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ THE SOFTWARE.
if you'd like to run Jenkins with a specific version of Java, specify a full path to java.exe.
The following value assumes that you have java in your PATH.
-->
<executable><%= @java_path -%>\java.exe</executable>
<executable>java.exe</executable>
<arguments>-Xrs -jar "<%= @slave_home -%>\<%= @client_jar -%>" -executors <%= @executors -%> <%= @masterurl_flag -%> <%= @labels_flag -%></arguments>
<!--
interactive flag causes the empty black Java window to be displayed.
Expand Down