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.txt
        echo "SERVER:${aquarius}" >> /tmp/bc_env.txt

echo "############"
cat  /tmp/bc_env.txt
-------------------------------------------------------

It was working fine but now it is showing some error like-

[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Executing and processing the following script content: 
set -e
set +x
#!/bin/sh
        cd /tmp/
        rm -rf bc_env.txt
        echo "SANDBOX:${sandbox}" >> /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 build.

And at last the build failed.So is there anyone there to help me.I am confused.


Regards,
Nayan


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7a4cfc2e-a48a-4201-8941-1bd0287f7be6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to