Hi,

      I am trying to do ssh to a linux machine and run some commands. I am
using ssh agent plugin for this. I tried accessing Jenkins environment
variable in "execute shell script on report host using ssh", but i am
getting "command not found" error for that environment variable. Here is
what i am trying:

In execute shell script on report host using ssh:
echo $BUILD_NUMBER

In log:
BUILD_NUMBER=163: Command not found.

And echo is not printing anything.

Please let me know how to access environment variable.

Regards,
Shambhu.

-- 
If linux doesn't have a solution, then u have a wrong problem.

Shambhu Kumar Sharma
91-98807 52962

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAFpzn_%3D9dF_3U5uWZ5FJKQqRXj-0mBf%2B5rkUaz1mKREk7pLf2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to