Initial run of parameterized pipeline build should return properties default value

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Jesse Glick
            Reporter:
            Emilio Escobar
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: