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