Compare commits

...

2 Commits

Author SHA1 Message Date
Robert Jacob 104fd548ee Begin pipeline with cleanup. 2017-07-08 22:43:26 +02:00
Robert Jacob 439bdd51e5 Change order of builds. 2017-07-08 22:41:37 +02:00
2 changed files with 14 additions and 4 deletions

13
Jenkinsfile vendored
View File

@ -1,6 +1,18 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Cleanup') {
steps {
deleteDir()
}
}
stage('Checkout build') {
steps {
checkout scm
}
}
stage('Checkout sources') { stage('Checkout sources') {
steps { steps {
checkout([ checkout([
@ -39,7 +51,6 @@ pipeline {
} }
} }
stage('Apply patches') { stage('Apply patches') {
steps { steps {
dir("source") { dir("source") {

View File

@ -2,9 +2,8 @@
set -euo errexit set -euo errexit
platforms=' platforms='
CONFIG_TARGET_arm64=y
CONFIG_TARGET_ath25=y
CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ath25=y
CONFIG_TARGET_brcm2708=y\nCONFIG_TARGET_brcm2708_bcm2708=y CONFIG_TARGET_brcm2708=y\nCONFIG_TARGET_brcm2708_bcm2708=y
CONFIG_TARGET_brcm2708=y\nCONFIG_TARGET_brcm2708_bcm2709=y CONFIG_TARGET_brcm2708=y\nCONFIG_TARGET_brcm2708_bcm2709=y
CONFIG_TARGET_bcm53xx=y CONFIG_TARGET_bcm53xx=y
@ -15,6 +14,7 @@ platforms='
CONFIG_TARGET_ramips=y\nCONFIG_TARGET_ramips_mt7628=y CONFIG_TARGET_ramips=y\nCONFIG_TARGET_ramips_mt7628=y
CONFIG_TARGET_ramips=y\nCONFIG_TARGET_ramips_rt3883=y CONFIG_TARGET_ramips=y\nCONFIG_TARGET_ramips_rt3883=y
CONFIG_TARGET_ramips=y\nCONFIG_TARGET_ramips_rt288x=y CONFIG_TARGET_ramips=y\nCONFIG_TARGET_ramips_rt288x=y
CONFIG_TARGET_arm64=y
' '
for platform in $platforms; do for platform in $platforms; do
@ -31,5 +31,4 @@ for platform in $platforms; do
# Build image # Build image
make defconfig make defconfig
make -j4 make -j4
exit 1
done done