Basic pipeline questions (using svn)

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Basic pipeline questions (using svn)

David Aldrich-2



Sorry for asking basic questions, but I need some help with my first pipeline. Here’s what I have so far:


node { 

stage('Checkout') {

    checkout([$class: 'SubversionSCM',

        additionalCredentials: [],

        excludedCommitMessages: '',

        excludedRegions: '',

        excludedRevprop: '',

        excludedUsers: 'buildbot',

        filterChangelog: false,

        ignoreDirPropChanges: false,

        includedRegions: '',

        locations: [[credentialsId: '086c0d1a-15e7-4cea-9702-7528ac021fab',

            depthOption: 'infinity',

            ignoreExternalsOption: true,

            local: '.',

            remote: ""]],

        workspaceUpdater: [$class: 'UpdateUpdater']])




1)      How do I specify a specific node?

2)      How do I emulate the conventional job’s checkout strategy ‘Use ‘svn update’ as much as possible’ so that a checkout is done if the workspace is empty or an update is done if a previous checkout exists?


Best regards




You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit
For more options, visit