-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: git-parameter-plugin
When pipeline project have that configuration (pipeline script)
pipeline script
properties([
[$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false],
parameters([
[$class: 'GitParameterDefinition',
branch: '',
branchFilter: '.*',
defaultValue: '',
description: 'description',
name: 'BRANCH_PARAM',
quickFilterEnabled: false,
selectedValue: 'NONE', sortMode: 'NONE',tagFilter: '*', type: 'PT_BRANCH']
]),
pipelineTriggers([])
])
node('master') {
// some block
stage('get GIT Learn') {
git url: 'https://github.com/klimas7/Learn.git', branch: params.BRANCH_PARAM
}
stage('get GIT Learn Spring') {
git url: 'https://github.com/klimas7/LearnSpring.git'
}
}
Plugin doesn't work correctly