From 3a9cc79c8aae6c2d636863225e40efe2aa4ee96b Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 12 Sep 2021 17:44:39 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EJenkinsfile=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6c79d819..0022ecbf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,9 +7,10 @@ script { int NUM_JOBS = 8 -List TARGETS = [ +List TARGETS = ['x86-64', 'ath79-generic'] +/*[ 'ath79-generic', - 'ath79-nand'/*, + 'ath79-nand', 'bcm27xx-bcm2708', 'bcm27xx-bcm2709', 'ipq40xx-generic', @@ -25,26 +26,27 @@ List TARGETS = [ 'sunxi-cortexa7', 'x86-64', 'x86-geode', - 'x86-generic',*/ -] + 'x86-generic', +]*/ -stage ('Build') { - for (arch in TARGETS) {} - node("${arch}-${env.BRANCH_NAME}") { - stage('Build') { - git branch: env.BRANCH_NAME, 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}" - archiveArtifacts artifacts: 'output/**', followSymlinks: false +node { + stage ('Build') { + for (arch in TARGETS) {} + node("${arch}-${env.BRANCH_NAME}") { + stage('Build') { + git branch: env.BRANCH_NAME, 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}" + archiveArtifacts artifacts: 'output/**', followSymlinks: false + } } } } } - /*pipeline { agent none