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

Possibility to trigger a job with all available parameters

      I have a job with choice parameter to specify an ant target (target=test or target=productive or target=release). Based on this target the job checks out the project into a specific directory and calls this target.

      Now I want to use parametrized-trigger-plugin to trigger the job 3 times with all 3 parameters. This is possible but the I have to add the trigger-instruction 3 times (see screen_settings.png for sample job settings) and I don't see the parameters in the overview-page (see screen_job.png). I think this could be improved. It would be nice if there was the possibility to set multiple values for one predefined parameter key, or (even better) if it was possible to specify that all available values for a paramter should be triggered.

      The problem right now is that I would have to maintain two jobs: The job that has the parameters for different ant targets and also the Build-All-Job (if the targets/parameters change). Maybe there's already another plugin that does this or I'm doing something wrong?

      Thanks for help in advance.

          [JENKINS-25794] Possibility to trigger a job with all available parameters

          Daniel Beck added a comment -

          Wouldn't using a Matrix (multi-configuration) project for the downstream job work?

          Daniel Beck added a comment - Wouldn't using a Matrix (multi-configuration) project for the downstream job work?

          Sven K added a comment -

          You're right, in this basic example it would work . But if I had another project (module) which has also a number of targets (parameters) that I want to trigger all in the downstream jon, then this won't be nice with Matrix project because I would have to set a combination filter.
          It would be therefore great if the plugin would offer the possibility to call a jobs several times with "all avaliable parameters".

          Sven K added a comment - You're right, in this basic example it would work . But if I had another project (module) which has also a number of targets (parameters) that I want to trigger all in the downstream jon, then this won't be nice with Matrix project because I would have to set a combination filter. It would be therefore great if the plugin would offer the possibility to call a jobs several times with "all avaliable parameters".

            huybrechts huybrechts
            sjmk Sven K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: