-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Jenkins :2.346.1
Git Parameter Plug-In :0.9.17
Maybe there is something wrong with my setting,It only shows (Retrieving Git references...) , do not show any branches...
pipeline {
agent any
parameters {
gitParameter name: 'BRANCH',
type: 'PT_BRANCH',
branchFilter: 'origin/(.*)',
defaultValue: 'origin/master',
selectedValue: 'DEFAULT',
sortMode: 'DESCENDING_SMART',
description: 'Select your branch or tag.'
}
stages {
stage('pull project') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '${params.BRANCH}']], extensions: [], userRemoteConfigs: [[credentialsId: 'fff04102-cb39-49e0-a1d3-363db603d074', url: 'git@xx:apps/renren-generator.git']]])
}
}
Metadata
Metadata
Assignees
Labels
No labels