aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSpacelord <Spacelord09@users.noreply.github.com>2021-08-01 22:22:24 +0200
committerSpacelord <Spacelord09@users.noreply.github.com>2021-08-01 22:22:24 +0200
commit8a67d5dfcbff5cad28bdb86c5c8a1cc85ebdc288 (patch)
tree3e843c3402ce036af02489d649cb195cb5649503
parent96b727c43595ab80ac2eb370f25e197987e88f55 (diff)
downloadmidimonster-8a67d5dfcbff5cad28bdb86c5c8a1cc85ebdc288.tar.gz
midimonster-8a67d5dfcbff5cad28bdb86c5c8a1cc85ebdc288.tar.bz2
midimonster-8a67d5dfcbff5cad28bdb86c5c8a1cc85ebdc288.zip
CI> Fix build for other branches or PRs.
-rw-r--r--assets/ci-config4
1 files changed, 2 insertions, 2 deletions
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') {