pipeline {agent any
stages { stage('Checkout') { steps { checkout([ $class: 'SubversionSCM', additionalCredentials: [], excludedCommitMessages: '', excludedRegions: '', excludedRevprop: '', excludedUsers: '', filterChangelog: false, ignoreDirPropChanges: false, includedRegions: '', locations: [[ cancelProcessOnExternalsFail: true, credentialsId: 'PTS-Cred', depthOption: 'infinity', ignoreExternalsOption: true, local: '.', remote: 'repo location' ]], quietOperation: true, workspaceUpdater: [$class: 'UpdateUpdater'] ]) } }}post { success { echo 'Checkout successful' } failure { echo 'Checkout failed' }}
}
log for the script.Started by user admin[Pipeline] Start of Pipeline[Pipeline] End of PipelineFinished: SUCCESS
I need the correct jenkins pipeline script for the svn checkout.