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

Pipeline svn checkout do not fails intermitently

      Checking out of a wrong SVN URI throws and svn exception but the stage finishes "Success" the first time the pipeline is built. Next build, the exception is thrown again and now the stage finishes "Failure". Next build, again the exception is thrown but now the stage finishes "Success" ... next time "Failure"... and so on and so forth.

      To reproduce the bug, try the following pipeline and build it several times. The Repo URI has an deliberate error on the last folder, so it should fail allways:

      ''''
      pipeline {
      agent any
      stages {

      stage("Checkout SVN Folder"){
      steps

      { checkout([$class: 'SubversionSCM', additionalCredentials: [], excludedCommitMessages: '', excludedRegions: '', excludedRevprop: '', excludedUsers: '', filterChangelog: false, ignoreDirPropChanges: false, includedRegions: '', locations: [[cancelProcessOnExternalsFail: true, credentialsId: '', depthOption: 'infinity', ignoreExternalsOption: true, local: 'folder/styles', remote: 'http://svn.apache.org/repos/asf/xml/stylebook/trunk/rstiiiles']], quietOperation: true, workspaceUpdater: [$class: 'UpdateUpdater']]) }

      }
      }
      }
      ''''

          [JENKINS-64152] Pipeline svn checkout do not fails intermitently

          Seven 5 Six added a comment -
          17:40:26 Location 'https://svn.myserver.com/svn/some-non-existing-path' does not exist
          17:40:26 ERROR: Failed to parse svn info for https://svn.myserver.com/svn/some-non-existing-path
          17:40:26 org.tmatesoft.svn.core.SVNException: svn: E155007: '/home/jenkins/jenkins/workspace/some-build' is not a working copy
          

          Just ran into this issue, the checkout stage finishes green after this message. I am surprised not so many comments/votes on this ticket...

          Seven 5 Six added a comment - 17:40:26 Location 'https: //svn.myserver.com/svn/some-non-existing-path' does not exist 17:40:26 ERROR: Failed to parse svn info for https: //svn.myserver.com/svn/some-non-existing-path 17:40:26 org.tmatesoft.svn.core.SVNException: svn: E155007: '/home/jenkins/jenkins/workspace/some-build' is not a working copy Just ran into this issue, the checkout stage finishes green after this message. I am surprised not so many comments/votes on this ticket...

            Unassigned Unassigned
            jjcanada Joaquín Cañadas
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: