Hi, I'm trying to run a job on Mac slave for the first time, the job is started but when reaching "Execute Shell" step with the following script: #!/bin/sh whoami pwd cd /Users/padmin/Documents/workspace/<My_Project>/ I'm getting the following: + whoami root + pwd /Users/padmin/workspace/<Job_Name> + cd /Users/padmin/Documents/workspace/<My_Project>/ /tmp/hudson8870516717374392933.sh: line 6: cd: /Users/padmin/Documents/workspace/PeerApp_Automation/GalilRobotFramework/: No such file or directory Build step 'Execute shell' marked build as failure What I had done so far:
- chmod -R 777 <My_Project>
#Added "Inject Environment Variable" step with this content:PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
But no luck! Please advice... Thanks in advance. |