-
Improvement
-
Resolution: Fixed
-
Major
-
None
colored textOn the first build the config parameter doesn't exist but it'd be great if on this initial build Config parameter could be setup with the default value.
For example,
properties ([[$class: 'ParametersDefinitionProperty', parameterDefinitions: [[$class: 'StringParameterDefinition', defaultValue: 'Release', description: '', name: 'configParam']]]])
So
binding.hasVariable('configParameter') should return true, and should has the value Release
- is duplicated by
-
JENKINS-37330 Parametrised Jenkinsfile job always fails on first run
- Closed
- is related to
-
JENKINS-27295 Boolean parameters injected as String
- Resolved
- relates to
-
JENKINS-70680 Changes to parameter default value from properties step not reflected in next build
- Open
-
JENKINS-40235 Initial run of parameterized pipeline always fails the first time
- Resolved
- links to
(2 links to)