Using jenkins options in one build configuration

I want to use a parameterized assembly that uses these parameters in the configuration itself.

defining a parameterized assembly

so a few steps later, I want to use the parameter to start the jenkins job in the var parameter "jenkins-deployment"

How to use the $ param parameter in this field?

Is there a way to use jenkins to use the "jenkins-deployment" var in this area?

+4
source share
1 answer

You can achieve this using the thread assembly plugin .

In my example, I created task A to run another task called "Test on console log".

Job A parameter:

enter image description here

Job. Assembly flow step:

enter image description here

Console output:

enter image description here

, .

+2

Source: https://habr.com/ru/post/1621969/


All Articles