What happens if you replace the build step with these commands?

env
which sh

-- Sami

Mat Stollman <[email protected]> kirjoitti 15.2.2012 kello 22.25:

> Hey Everyone!
> 
> I was wondering if anyone has received an issue with xcode 4.2.1 and
> trying to run ghunit tests. For some reason, I can not get it to run
> my shell script with the sh command. Here is the ending of my output:
> 
> It pulls from our github correctly but this is always the end result.
> I did follow
> 
> /T/hudson5451708132377497257.sh
> + sh buildAndTest.sh
> /var/folders/l4/nl0dbbp101lgm9ys3t0lg9n8ckpc1n/T/
> hudson5451708132377497257.sh: line 2: sh: command not found
> Build step 'Execute shell' marked build as failure
> Finished: FAILURE
> 
> The shell script line in Jenkins looks like this: sh
> buildAndTest.sh     .. the buildAndTest.sh is the file I created.
> 
> For the record, I followed this " http://www.youtube.com/watch?v=6ycxFcIPhQg
> " to build the scripts. I am able to run the scripts locally on my mac
> just fine.
> 
> Any ideas?

Reply via email to