Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: core
Created: 30/Aug/12 8:46 PM
Description:
  1. Enable the JDK auto-installer in the master node.
  2. Add an OSX slave node.
  3. Execute a task in the slave node that executes "echo $PATH"
  4. 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:

  1. Check if the operating system is supported before modifying PATH.
  2. If the auto-installer fails, revert PATH to its original value.

Workaround:

  1. Define a new JDK type with auto-install disabled and use this for all OSX tasks.
Environment: MacOS X 10.7 slave
Project: Jenkins
Priority: Major Major
Reporter: cowwoc
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to