Jenkins - Is it possible? You have multiple New buttons for a parameter-based job

In Jenkins, I created a job with parameters (string, string validation, selection, dynamic selection, blah de blah, etc.).

Now when I go to work, I see a Build with Parameters link on the left. I click on it and I see a nice option / arguments (which I configured in the assignment) on the HTML front.

At the bottom of these parameters, there is a Build button (this means that after providing values ​​to the parameters and clicking the Create button, it will initiate Jenkins job, etc. the job is done (with / without these arguments / passed parameters), it will do it ...

Now I need:

1) Is there a way I can have two or more of these Build buttons at the same time? those. attached PS image.

2) If only one assembly block is allowed / available, can I check the box (parameter), which when checking / unchecking the box, change the number / name of the parameters for this job.

enter image description here

+3


source to share


1 answer


I don't know if this is really what you are really looking for, but maybe this plugin can help: https://wiki.jenkins-ci.org/display/JENKINS/Dynamic+Parameter+Plug-in

This way you will be able to change the parameters on the response of user input and build accordingly.



Hope it helps

+2


source







All Articles