Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35475

Multibranch pipeline displays SCM views multiple times

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            szhem Sergey Zhemzhitsky created issue -
            rtyler R. Tyler Croy made changes -
            Field Original Value New Value
            Workflow JNJira [ 171775 ] JNJira + In-Review [ 184466 ]
            jglick Jesse Glick made changes -
            Component/s git-plugin [ 15543 ]
            Component/s workflow-multibranch-plugin [ 21465 ]
            Labels multibranch
            Assignee Manuel Recena Soto [ recena ]
            stephenconnolly Stephen Connolly made changes -
            Labels multibranch multibranch scm-api-tidy-scrub
            stephenconnolly Stephen Connolly made changes -
            Labels multibranch scm-api-tidy-scrub multibranch scm-api-tidy
            stephenconnolly Stephen Connolly made changes -
            Link This issue relates to JENKINS-41830 [ JENKINS-41830 ]
            stephenconnolly Stephen Connolly made changes -
            Assignee Stephen Connolly [ stephenconnolly ]
            stephenconnolly Stephen Connolly made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            stephenconnolly Stephen Connolly made changes -
            Remote Link This issue links to "PR#484 (Web Link)" [ 15643 ]
            stephenconnolly Stephen Connolly made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            stephenconnolly Stephen Connolly made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            stephenconnolly Stephen Connolly made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2070 (Web Link)" [ 18432 ]

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                szhem Sergey Zhemzhitsky
              • Votes:
                4 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: