Clean-up before checkout
Or if there is a file that is modified from the WORKSPACE, it will
prevent checking out the new version of the file.
@@ -39,7 +39,7 @@ def call(config = [:]) {
recursiveSubmodules: true,
reference: "",
trackingSubmodules: false],
- [$class: 'CleanCheckout']],
+ [$class: 'CleanBeforeCheckout']],
submoduleCfg: [],
userRemoteConfigs: [[url: config.repository, refspec: config.refspec]]],
poll: config.poll)
