Execute a task in the slave node that executes "echo $PATH"
The output log reads:
JDK installation skipped: Unknown CPU name: mac os x
...snip...
echo 'C:\Program' 'Files\Java\jdk1.7.0_06/bin:/usr/bin:/bin:/usr/sbin:/sbin'
C:\Program Files\Java\jdk1.7.0_06/bin:/usr/bin:/bin:/usr/sbin:/sbin
Expected behavior:
Check if the operating system is supported before modifying PATH.
If the auto-installer fails, revert PATH to its original value.
Workaround:
Define a new JDK type with auto-install disabled and use this for all OSX tasks.