„Jenkinsfile“ ändern
This commit is contained in:
parent
53bad41684
commit
3a9cc79c8a
|
@ -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
|
||||
|
||||
|
|
Reference in New Issue