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

"Tag this build" link repeated in Pipeline job with multiple svn step

    Details

    • Similar Issues:

      Description

      If you create a pipeline script like this

      node {
          svn 'https://SVN_URL/REPO_NAME/branches/branch1'
          svn 'https://SVN_URL/REPO_NAME/branches/branch2'
      }
      

      or

      node {
          checkout([
              $class: 'SubversionSCM',
              locations: [
                  [
                      credentialsId: '083ca939-470f-4bbd-9f32-30fc845fbb45',
                      depthOption: 'infinity',
                      ignoreExternalsOption: true,
                      local: './tmp', remote: 'https://SVN_URL/REPO_NAME/branches/branch2'
                  ]
              ],
              workspaceUpdater: [$class: 'CheckoutUpdater']
          ])
          checkout([
              $class: 'SubversionSCM',
              locations: [
                  [
                      credentialsId: '083ca939-470f-4bbd-9f32-30fc845fbb45',
                      depthOption: 'infinity',
                      ignoreExternalsOption: true,
                      local: '.', remote: 'https://SVN_URL/REPO_NAME/branches/branch2'
                  ]
              ],
              workspaceUpdater: [$class: 'CheckoutUpdater']
          ])
      }
      

      In the job build page appears the "Tag this build" link repeated.

      Both links are the same and shows the same information. This behaviour can not be reproduced with Freestyle because in Freestyle jobs you only can add one source code repository.

        Attachments

          Issue Links

            Activity

            Hide
            zswanson Zach Swanson added a comment -

            These might be dupes

            Show
            zswanson Zach Swanson added a comment - These might be dupes
            Hide
            jglick Jesse Glick added a comment -

            Probably a duplicate of JENKINS-38204.

            Show
            jglick Jesse Glick added a comment - Probably a duplicate of JENKINS-38204 .
            Hide
            r0ll1ngst0ne Michael Kostukov added a comment - - edited

            The issue is still present in Jenkins  2.150.3.

             

            When using scripted pipeline, each "checkout(changelog: false, scm: [$class: 'SubversionSCM'..." results in duplicated "Tag this build" links under the build:

             

             

            P.S. This is a separate issue from "Tag this build" appearing twice (which is also an unresolved bug). In addition to that, each svn checkout duplicates the duplicated links  In the image above, I have 4 checkouts - which result in 8 links (while there should be just 1!)

            Show
            r0ll1ngst0ne Michael Kostukov added a comment - - edited The issue is still present in Jenkins  2.150.3.   When using scripted pipeline, each "checkout(changelog: false, scm: [$class: 'SubversionSCM'..." results in duplicated "Tag this build" links under the build:     P.S.  This is a separate issue from "Tag this build" appearing twice (which is also an unresolved bug). In addition to that, each svn checkout duplicates the duplicated links  In the image above, I have 4 checkouts - which result in 8 links (while there should be just 1!)

              People

              • Assignee:
                Unassigned
                Reporter:
                dariver Darío Villadiego
              • Votes:
                8 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: