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
|  
Report Content as Inappropriate

Basic pipeline questions (using svn)

David Aldrich-2

Hi

 

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: "https://172.29.68.12/subversion/Leda/trunk/"]],

        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

 

David

 

--
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 https://groups.google.com/d/msgid/jenkinsci-users/c3cfb4ab2a134ff58d30ef96c9dbc7d8%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.
Loading...