-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Jenkins ver. 2.164.2
Job DSL 1.72
Git Parameter Plug-In 0.9.10
I'm trying to setup pipeline jobs with the Job DSL plugin but it seems to fail to set the Parameter Type correctly to Branch or Tag and sets it to Branch instead.
pipelineJob('Test-DSL-Pipeline') { parameters { gitParameterDefinition { name('GIT_BRANCH') type('BRANCH_TAG') defaultValue('origin/master') description('Name of the branch or tag to check out') branch('') branchFilter('.*') tagFilter('*') sortMode('DESCENDING_SMART') selectedValue('DEFAULT') useRepository('') quickFilterEnabled(true) } } }