From 8a67d5dfcbff5cad28bdb86c5c8a1cc85ebdc288 Mon Sep 17 00:00:00 2001 From: Spacelord Date: Sun, 1 Aug 2021 22:22:24 +0200 Subject: CI> Fix build for other branches or PRs. --- assets/ci-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/ci-config') diff --git a/assets/ci-config b/assets/ci-config index 6e94df6..a649657 100644 --- a/assets/ci-config +++ b/assets/ci-config @@ -17,7 +17,7 @@ buildTypes.each{ node() { skipDefaultCheckout() stage('Checkout') { - 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']]]) + checkout([$class: 'GitSCM', branches: [[name: '**']], 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([$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']]]) + checkout([$class: 'GitSCM', branches: [[name: '**']], 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') { -- cgit v1.2.3