Re: I have a question about jenkins build

2012-03-02 Thread cjo
To compare the Jenkins and local environments run from a shell Jenkins job #!/bin/bash -x env | sort > jenkins_env.txt and archive the file jenkins_env.txt Locally from a shell on the slave env | sort > manual_env.txt Then save these files to a common place and compare with your preferred com

Re: I have a question about jenkins build

2012-03-01 Thread seonguk.baek
Thanks for your reply :-) On 3월2일, 오전2시05분, cjo wrote: > From the error described, it looks like the errors are coming from another > script called from inside the shell command. > > Are the "sh: -c: line 0: ..." > showing up in the build log in Jenkins? Yes > > Can you share more or the output l

Re: I have a question about jenkins build

2012-03-01 Thread cjo
>From the error described, it looks like the errors are coming from another script called from inside the shell command. Are the "sh: -c: line 0: ..." showing up in the build log in Jenkins? Can you share more or the output log? (basically 15-20 lines before this is seen) As it looks more likel

Re: I have a question about jenkins build

2012-03-01 Thread seonguk.baek
Thanks for your reply :-) As you said I modified it. cd /bin rm sh ln -s bash sh But still error occurs. sh: -c: line 0: syntax error near unexpected token `(' sh: -c: line 0: `/opt/RVCT41P7/RVCT/Programs/4.1/713/linux-pentium/ armlink --elf --map --info sizes,totals --list ... Execute Shell l

Re: I have a question about jenkins build

2012-02-29 Thread Sami Tikka
Not seeing anything else like the console leaves me no real clues but I can offer some guesses: 1) Maybe /bin/sh on the build machine is not bash and the build script is using some bash-only feature? 2) Shell scripts have a bad habit of continuing execution even if errors happen. That is the r

I have a question about jenkins build

2012-02-29 Thread seonguk.baek
Hello We used Git system as a SCM tool. And jenkins is used for CI with Gerrit Trigerr plug in. jenkins runs build operation when commit is uploaded to Gerrit code review system by developer. There is error case with below job which is [ sh: Syntax error: "(" unexpected ] when build is running