From 480b1e2207bbfb0e84c81d0b2eb951acceb4265f Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 12 Sep 2021 17:13:57 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ddf9799a..64d86874 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,7 @@ script { NOW= java.time.LocalDateTime.now() RELEASE="${params.BRANCH}-$NOW" + echo 'Pulling...' + env.BRANCH_NAME } int NUM_JOBS = 8 @@ -60,7 +61,7 @@ pipeline { stages { stage("Build") { steps { - git(branch: "${params.BRANCH}", url: "https://git.dezentrale.cloud/Freifunk-Leipzig/gluon-firmware.git") + git(branch: "${env.BRANCH_NAME}", url: "https://git.dezentrale.cloud/Freifunk-Leipzig/gluon-firmware.git") sh 'git submodule update --init --recursive' sh "make update" sh "make -j${params.NUM_JOBS} GLUON_TARGET=${GLUON_TARGET} || make -j1 V=s GLUON_TARGET=${GLUON_TARGET}"