-
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
-
[JENKINS-36822] SCP / SSH Host selection at Run time
Summary | Original: SCP / SSH | New: SCP / SSH Host selection at Run time |
Description |
Original:
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 |
New:
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 |
Assignee | Original: bap [ bap ] | New: Paul Weber [ 000panther ] |
Rank | New: Ranked higher |
Assignee | Original: Paul Weber [ 000panther ] | New: sokhom ratanak [ 011727296 ] |
Assignee | Original: sokhom ratanak [ 011727296 ] | New: bap [ bap ] |
Rank | New: Ranked higher |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: Open [ 1 ] |