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

Create 'Remote SSH host' Job parameter type, whose value can be used by Remote Execution build step

      Build step 'Execute shell script remotely on host using ssh' takes one of the configured remote hosts as value.

      This makes the job configuration vary static. It would be nice if this could be parameterized.

      Implementing this requires two features:

      • Special type of Job parameter allows the user to select one of the configures remote hosts.
      • Optionally, he could select subset of SSH hosts using a regex
      • Optionally, he could select default SSH host
      • Behavior is very similar to Subversion branch selection parameter
      • The 'Execute shell script remotely' builder must be able to take such a parameter

          [JENKINS-26807] Create 'Remote SSH host' Job parameter type, whose value can be used by Remote Execution build step

          I'm using vSphere plugin to setup new virtual machines and as a result I get host information as environment variables like "VSPHERE_IpAddress"

          I need to execute scripts on this VM host after it has been installed. I thought this SSH plugin was my ticket to happiness, but pre-defining the SSH hosts makes this plugin unusable. I need to be able to use environment variables when I create new jobs

          veli pekka jutila added a comment - I'm using vSphere plugin to setup new virtual machines and as a result I get host information as environment variables like "VSPHERE_IpAddress" I need to execute scripts on this VM host after it has been installed. I thought this SSH plugin was my ticket to happiness, but pre-defining the SSH hosts makes this plugin unusable. I need to be able to use environment variables when I create new jobs

            Unassigned Unassigned
            tbacker Brother Bear
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: