We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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']]]) } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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']]])
}
}
The text was updated successfully, but these errors were encountered: