-
Bug
-
Resolution: Unresolved
-
Minor
-
None
I'm running into issues trying to pass params to sshScript - found this SO with the same problem but the OP never got a response.
How should one do this?
[JENKINS-70076] How to pass parameters to remote script with SSH steps plugin
Component/s | New: ssh-steps-plugin [ 23921 ] | |
Component/s | Original: ssh-plugin [ 16049 ] |
You can use 2 scripts
The first calls the second with the parameters. This is not nice when you need to pass credentials as you will get warnings about string interpolation done by jenkins, but there is no other way I think at the moment
You could also use
to call the script that you put before. Here you can pass parameters