diff options
-rw-r--r-- | assets/ci-config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/ci-config b/assets/ci-config index ac94661..6e94df6 100644 --- a/assets/ci-config +++ b/assets/ci-config @@ -17,7 +17,7 @@ buildTypes.each{ node() { skipDefaultCheckout() stage('Checkout') { - checkout scm + checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [[$class: 'CloneOption', noTags: false, reference: '', shallow: false], [$class: 'CleanBeforeCheckout', deleteUntrackedNestedRepositories: true]], userRemoteConfigs: [[credentialsId: 'github_mm_key', url: 'https://github.com/cbdevnet/midimonster.git']]]) } stage("$it Build"){ @@ -47,7 +47,7 @@ builds.Test = { node() { skipDefaultCheckout() stage('Checkout') { - checkout scm + checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [[$class: 'CloneOption', noTags: false, reference: '', shallow: false], [$class: 'CleanBeforeCheckout', deleteUntrackedNestedRepositories: true]], userRemoteConfigs: [[credentialsId: 'github_mm_key', url: 'https://github.com/cbdevnet/midimonster.git']]]) } stage('Test') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { |