„Jenkinsfile“ ändern

This commit is contained in:
alex 2021-09-12 18:03:56 +02:00
parent dec9964500
commit 46faa546ab
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -35,11 +35,11 @@ node {
stage ('Build') {
for (arch in TARGETS) {
node {
stage('Build') {
stage("Build ${arch}") {
git branch: BRANCH, url: 'https://git.dezentrale.cloud/alex/gluon-firmware.git'
sh 'git submodule update --init --recursive'
sh "make update"
sh "make -j${NUM_JOBS} GLUON_TARGET=${GLUON_TARGET} ${MAKE_OPTS} || make -j1 V=s GLUON_TARGET=${GLUON_TARGET} ${MAKE_OPTS}"
sh "make -j${NUM_JOBS} GLUON_TARGET=${arch} ${MAKE_OPTS} || make -j1 V=s GLUON_TARGET=${arch} ${MAKE_OPTS}"
archiveArtifacts artifacts: 'output/**', followSymlinks: false
}
}