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

Add parameter to parameterized trigger parameters to allow selection of configured remote hosts

      When you select the build parameters in the project configuration page, you get things like String, Boolean, Node, Label, etc. It would be useful to have an option for selecting one of the configured remote trigger hosts, so we don't have to duplicate references to these. For example, if you wanted to reference the remote machine from a script, you might want the remote trigger host to be stored in an environment variable:

      REMOTE_TRIGGER_HOST="http://some-jenkins-server:8080/"

      The only way to do this, is to duplicate the server name and define it as a String parameter.

          [JENKINS-26047] Add parameter to parameterized trigger parameters to allow selection of configured remote hosts

          Edd Grant added a comment - - edited

          @Craig Phillips - We're stuck on this too. From reading your description I wasn't sure if you've identified a workaround or not? Would be v grateful if you could confirm. Many thanks!

          Edd Grant added a comment - - edited @Craig Phillips - We're stuck on this too. From reading your description I wasn't sure if you've identified a workaround or not? Would be v grateful if you could confirm. Many thanks!

          Unfortunately not. The only work around was to have duplicate entries.

          Craig Phillips added a comment - Unfortunately not. The only work around was to have duplicate entries.

          Edd Grant added a comment -

          Shame, thanks for the quick clarification though!

          Edd Grant added a comment - Shame, thanks for the quick clarification though!

            morficus Maurice W.
            iwonbigbro Craig Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: