Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

I script runs successfully but the project is not checked out from the svn repository

$
0
0

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.


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>