„Jenkinsfile“ ändern
This commit is contained in:
parent
6811777292
commit
480b1e2207
|
@ -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}"
|
||||
|
|
Reference in New Issue