-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.8
Ubuntu Server 14.04
When using extended SCM configuration with multibranch pipeline plugin then SCM views, all the links and revision info is shown twice on the build view.
Here is the SCM configuration
def teamName = 'team' def repoName = 'repo' stage 'Checkout' checkout([ $class: 'GitSCM', branches: [[name: env.BRANCH_NAME]], browser: [ $class: 'BitbucketWeb', repoUrl: "https://bitbucket.org/${teamName}/${repoName}.git" ], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'CleanBeforeCheckout']], submoduleCfg: [], userRemoteConfigs: [[ credentialsId: 'jenkins_bitbucket_ssh', name: 'origin', url: "git@bitbucket.org:${teamName}/${repoName}.git" ]] ])
... and for the provided configuration all the SCM info is duplicated as shown in the provided attachment scm_extended_dups.png.
If using the configuration as the following one
stage 'Checkout' checkout scm
... then SMC information is displayed only once (scm_simple.png) as expected.
- relates to
-
JENKINS-41830 SCM - Cloning multiple git repositories in parallel causes same change multiple times in pipeline job
- Open
- links to