-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
I have to mention the SSH host or SCP host while configuring the Job.
Is there any option by which we can select the host name in Run-time?
Just like we can select the Node name in which we want the script or shell commands to be executed, using Node Plugin
To be specific -
I am passing few files to a Host, it can either be DEV, QA, or PROD and then based on that a set of commands will be executed in that particular Host.
As set of commands/script is generic, only the Host changes, so I need to develop one single job and pass the Host name in the Run-time where the file will be placed.
Is there any way out ?
Please help
- blocks
-
JENKINS-32288 Environment variables not expanded for "hostname" in publish over ssh plugin
-
- Closed
-
For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues
Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/133
And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-36822%22
(Note: this is an automated bulk comment)