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}"