History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1860
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Irina Kotlova
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Build agent in service mode does not inherit PATH environment variable on Mac 10.8 and up

Created: 25/Nov/13 05:09 PM   Updated: 02/Dec/13 05:27 PM
Return to search
Component/s: None
Affects Version/s: 5.0.29
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
Mac OS X 10.8 (Mountain Lion)
Mac OS X 10.9 (Mavericks)


 Description  « Hide
Prerequisites:
- QuickBuild build agent 5.0.29 is installed on Mac OS X 10.8 Mountain Lion;
- agent.sh is updated with RUN_AS_USER="svcbuildm";
- the machine is rebooted.

Result:
After the reboot System Attributes tab displays the environment:
PATH /usr/bin:/bin:/usr/sbin:/sbin

'echo $PATH' in the shell displays:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/bullseye/bin:.:/Builds/QuickBuild/buildagent/bin:/Applications/Xcode.app/Contents/Developer/usr/subversion-1.6/bin:/Users/svcbuildm

Expected result:
The shell's PATH setting is expected instead of the one displayed.

Conclusion:
Shell's PATH environment is not preserved in QuickBuild build agent as expected.

NOTE: This behavior is not seen on earlier Mac OS X 10.6 and 10.7.

 All   Comments   Work Log   Change History      Sort Order:
No changes have yet been made on this issue.