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

Multibranch workflow and 'scm checkout' don't allow Svn clean before checkout

      Same as JENKINS-32540 when using "checkout scm" in a Jenkinsfile with the the workflow-multibranch-plugin, there is no way to create a clean checkout of the repository.

      The SVN features of emulate clean repository and/or complete clean of repository is not available.

          [JENKINS-41850] Multibranch workflow and 'scm checkout' don't allow Svn clean before checkout

          Apparently, there is a workaround for this, by setting the WorkspaceUpdater in the Jenkinsfile: https://claasd.blogspot.com/2019/01/jenkins-how-to-use-svn-checkout.html

          However, this doesn't help when using the (deprecated) Multibranch Freestyle Job plugin,

          Joachim Mairböck added a comment - Apparently, there is a workaround for this, by setting the WorkspaceUpdater in the Jenkinsfile: https://claasd.blogspot.com/2019/01/jenkins-how-to-use-svn-checkout.html However, this doesn't help when using the (deprecated) Multibranch Freestyle Job plugin,

          Diego Díez added a comment -

          This is possible since subversion-2.15.0

          Diego Díez added a comment - This is possible since subversion-2.15.0

            didiez Diego Díez
            joakimplateqrtech Joakim Plate
            Votes:
            12 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: