Simplify Jenkins checkout

This commit is contained in:
Paul Campbell 2018-02-23 17:01:20 +00:00
parent 69cb93ca1e
commit 9703dddbbc

2
Jenkinsfile vendored
View file

@ -6,9 +6,7 @@ pipeline {
checkout([ checkout([
$class: 'GitSCM', $class: 'GitSCM',
branches: [[name: '**']], branches: [[name: '**']],
doGenerateSubmoduleConfigurations: false,
extensions: [[$class: 'CleanBeforeCheckout']], extensions: [[$class: 'CleanBeforeCheckout']],
submoduleCfg: [],
userRemoteConfigs: [[credentialsId: 'github-kemitix', url: 'git@github.com:kemitix/conditional.git']] userRemoteConfigs: [[credentialsId: 'github-kemitix', url: 'git@github.com:kemitix/conditional.git']]
]) ])
sh './mvnw clean install' sh './mvnw clean install'