Skip to content
New issue

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

Do not show any branches(Retrieving Git references...) #30

Open
DaiYuanchuan opened this issue Jul 10, 2022 · 0 comments
Open

Do not show any branches(Retrieving Git references...) #30

DaiYuanchuan opened this issue Jul 10, 2022 · 0 comments

Comments

@DaiYuanchuan
Copy link

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']]])
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant