Hi All,
Am using 2 jenkins machines names are test1 and test2
test1 will trigger test2 by using remote trigger parameter job
In test1 jenkins
I have shell script which gives one value the same i want to use in as remote parameters
I have a remote trigger parameterized job which contains parameters
Question
How can i use shell script variable and its value to pass in the remote parameters
I tried
Inject environment variables to the build process
At properties content which is working fine but that is only simple value
At script content i executed value=`pwd` the same am giving in remote parameters like below
value1=${value}
In test2 jenkins am passing as string parameter as value1
The out put is ${value } but am expecting exact value of pwd