script shell build failure
On Wednesday, July 24, 2013 12:53:09 PM UTC-4, JonathanRRogers wrote:
On Wednesday, July 24, 2013 5:49:46 AM UTC-4, Dirk Heinrichs wrote:
Am Mittwoch, 24. Juli 2013, 11:25:10 schrieb Adrien Ruffié:
Do you have an idea, how I can avoid this failure and continu other
Hello all,
Into one job I have the following script shell build step :
git status /tmp/git.status
grep webapp/res/description.xml /tmp/git.status /dev/null
returncode=$?
if [ $returncode -eq 0 ]; then
git add -- webapp/res/description.xml
git commit --verbose -F
Am Mittwoch, 24. Juli 2013, 11:25:10 schrieb Adrien Ruffié:
Do you have an idea, how I can avoid this failure and continu other build
step and enter into else statement ?
It's because the script is started with -xe. -e lets the script fail as soon
as any command exits with non-zero return
, 2013 5:50 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Avoid script shell build failure
Am Mittwoch, 24. Juli 2013, 11:25:10 schrieb Adrien Ruffié:
Do you have an idea, how I can avoid this failure and continu other build
step and enter into else statement ?
It's because the script
On Wednesday, July 24, 2013 5:49:46 AM UTC-4, Dirk Heinrichs wrote:
Am Mittwoch, 24. Juli 2013, 11:25:10 schrieb Adrien Ruffié:
Do you have an idea, how I can avoid this failure and continu other
build
step and enter into else statement ?
It's because the script is started with -xe.
On Wednesday, July 24, 2013 12:53:09 PM UTC-4, JonathanRRogers wrote:
On Wednesday, July 24, 2013 5:49:46 AM UTC-4, Dirk Heinrichs wrote:
Am Mittwoch, 24. Juli 2013, 11:25:10 schrieb Adrien Ruffié:
Do you have an idea, how I can avoid this failure and continu other
build
step and