forked from Freifunk-Leipzig/gluon-firmware
„Jenkinsfile“ ändern
This commit is contained in:
parent
6811777292
commit
480b1e2207
|
@ -1,6 +1,7 @@
|
||||||
script {
|
script {
|
||||||
NOW= java.time.LocalDateTime.now()
|
NOW= java.time.LocalDateTime.now()
|
||||||
RELEASE="${params.BRANCH}-$NOW"
|
RELEASE="${params.BRANCH}-$NOW"
|
||||||
|
echo 'Pulling...' + env.BRANCH_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
int NUM_JOBS = 8
|
int NUM_JOBS = 8
|
||||||
|
@ -60,7 +61,7 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage("Build") {
|
stage("Build") {
|
||||||
steps {
|
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 'git submodule update --init --recursive'
|
||||||
sh "make update"
|
sh "make update"
|
||||||
sh "make -j${params.NUM_JOBS} GLUON_TARGET=${GLUON_TARGET} || make -j1 V=s GLUON_TARGET=${GLUON_TARGET}"
|
sh "make -j${params.NUM_JOBS} GLUON_TARGET=${GLUON_TARGET} || make -j1 V=s GLUON_TARGET=${GLUON_TARGET}"
|
||||||
|
|
Loading…
Reference in New Issue