Removed clean checkout workaround
The Jenkins issue was resolved and this is now specified in the multi-branch configuration.
@@ -49,13 +49,7 @@ def runTests(testEnv, isAndroid) {
stage('Build') {
// Checkout, build and assemble the source and doc
node {
- checkout([
- $class : 'GitSCM',
- branches : scm.branches,
- doGenerateSubmoduleConfigurations: scm.doGenerateSubmoduleConfigurations,
- extensions : scm.extensions + [[$class: 'CleanBeforeCheckout']],
- userRemoteConfigs : scm.userRemoteConfigs
- ])
+ checkout scm
sh './gradlew clean assemble'
stash name: 'built'
}
