aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/ci-config4
-rwxr-xr-xassets/ci.sh2
2 files changed, 3 insertions, 3 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') {
diff --git a/assets/ci.sh b/assets/ci.sh
index 0bc6d4a..e633875 100755
--- a/assets/ci.sh
+++ b/assets/ci.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# shellcheck disable=SC2001,SC2181
+# shellcheck disable=SC2001,SC2181,SC1117
################################################ SETUP ################################################
dep_build_core=(