A parameterized job is always executed with a default parameter

I'm having problems getting Jenkins to work always with the default setting. Does anyone know a possible plugin to help in this case? Right now I am using an extended selection of parameters, but there is still no way to simply start the task with the default value without prompting the user for the parameter.

+6
source share
4 answers

Solution 1

There is currently no direct solution to run a parameterized job with a default parameter using the plugin. However, there is a workaround to accomplish this using the EnvInject plugin.

As @General_Code noted:

, : var1 = value, ${var1}

2

@RejeeshChandran: Parameterized Build Plugin, .

, - , . , , .

+3

Parameterized Scheduler

cron

H(0-29)/10 * * * * % name=value; othername=othervalue

+1

This build is parameterized Jenkins. . , . .
enter image description here

. https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build. .

0

→ →

"", " "

0

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


All Articles