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

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

Run that script in console and check which part is failing. Using `#!/bin/sh` is kind of weird there. That might be a problem.

Regards,
Nux.

--
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/560CDBF1.4030204%40mol.com.pl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to