Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36822

SCP / SSH Host selection at Run time

XMLWordPrintable

      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

            slide_o_mix Alex Earl
            shyamhalder Shyam Halder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: