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

SVN plugin show all checkouts twice in pipeline project

      In pipeline projects, we checkout the code once to get the Jenkinsfile and then checkout it again one more time in the script to get the code.
      SVN show all the commits for the build twice in the changes of the build.
      This doesn't happen with other SCM plugin like git.

          [JENKINS-38204] SVN plugin show all checkouts twice in pipeline project

          Kevin Grandemange created issue -

          Zach Swanson added a comment - - edited

          Actually this did occur with other SCM plugins, but they've been getting updated - see JENKINS-29326

          In a multibranch environment this seems to be occurring when the job is allocated to the master node. The master is having to poll/checkout from subversion to get the new head revisions that trigger the jobs. Then you have to call 'checkout scm' inside the Jenkinsfile too, and apparently this causes the changeset to be recorded twice.

          We're running Jenkins 2.24 with the svn-plugin at 2.6

          Zach Swanson added a comment - - edited Actually this did occur with other SCM plugins, but they've been getting updated - see JENKINS-29326 In a multibranch environment this seems to be occurring when the job is allocated to the master node. The master is having to poll/checkout from subversion to get the new head revisions that trigger the jobs. Then you have to call 'checkout scm' inside the Jenkinsfile too, and apparently this causes the changeset to be recorded twice. We're running Jenkins 2.24 with the svn-plugin at 2.6
          Zach Swanson made changes -
          Attachment New: Capture.PNG [ 34355 ]
          Zach Swanson made changes -
          Link New: This issue is related to JENKINS-35176 [ JENKINS-35176 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-35176 [ JENKINS-35176 ]
          Reinhold Füreder made changes -
          Link New: This issue is related to JENKINS-39487 [ JENKINS-39487 ]
          Pascal Dulleck made changes -
          Link New: This issue is related to JENKINS-39233 [ JENKINS-39233 ]
          James Dumay made changes -
          Labels Original: pipeline svn svn-kit New: multibranch pipeline svn svn-kit

          Edgars Batna added a comment -

          Any idea if this ever going to get fixed? In my case changesets get multiplied by 5 and I made sure to use 'changelog: false' wherever possible.

          Edgars Batna added a comment - Any idea if this ever going to get fixed? In my case changesets get multiplied by 5 and I made sure to use 'changelog: false' wherever possible.
          Michael Kostukov made changes -
          Attachment New: duplicates.png [ 42016 ]

            didiez Diego Díez
            rkutic Kevin Grandemange
            Votes:
            45 Vote for this issue
            Watchers:
            40 Start watching this issue

              Created:
              Updated:
              Resolved: