t;> /tmp/bc_env.txt
> echo "SERVER:${aquarius}" >> /tmp/bc_env.txt
>
> echo ""
> cat /tmp/bc_env.txt
>
> [wmtst.jenkins] $ /bin/sh -xe /var/tmp/hudson928408455192591691.sh
> [EnvInject] - Script executed. The exit code is 255.
&g
And maybe fix the indentation mess.
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Maciej Jaros
Sent: October-01-15 03:09
To: jenkinsci-users@googlegroups.com
Subject: Re: Script executed. The exit code is 255.
Nayan Jyoti Gogoi (2015-09-30 14:4
Nayan Jyoti Gogoi (2015-09-30 14:44):
Hi All,
I am executing a shell script using jenkins on a hpux machine.
It goes like this.
--
set +e
set +x
#!/bin/sh
cd /tmp/
rm -rf bc_env.txt
echo "SANDBOX:${sandbox}" >> /tmp/bc_env.t
; >> /tmp/bc_env.txt
echo "SERVER:${aquarius}" >> /tmp/bc_env.txt
echo ""
cat /tmp/bc_env.txt
[wmtst.jenkins] $ /bin/sh -xe /var/tmp/hudson928408455192591691.sh
[EnvInject] - Script executed. The exit code is 255.
[EnvInject] - Fail the bu