Update Jenkinsfile

This commit is contained in:
Fabien Poussin 2020-12-06 01:03:57 +01:00 committed by GitHub
parent d796607378
commit 0e5d8240a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 3 deletions

16
Jenkinsfile vendored
View File

@ -39,6 +39,8 @@ pipeline {
stage('Build STM32') { stage('Build STM32') {
steps { steps {
sh ''' sh '''
export CH_PATH=$WORKSPACE/ChibiOS
export CHC_PATH=$WORKSPACE
./tools/chbuild.sh ./testhal/STM32/ ./tools/chbuild.sh ./testhal/STM32/
./tools/chbuild.sh ./demos/STM32/ ./tools/chbuild.sh ./demos/STM32/
''' '''
@ -48,6 +50,8 @@ pipeline {
stage('Build NRF51') { stage('Build NRF51') {
steps { steps {
sh ''' sh '''
export CH_PATH=$WORKSPACE/ChibiOS
export CHC_PATH=$WORKSPACE
./tools/chbuild.sh ./testhal/NRF51/ ./tools/chbuild.sh ./testhal/NRF51/
./tools/chbuild.sh ./demos/NRF51/ ./tools/chbuild.sh ./demos/NRF51/
''' '''
@ -57,6 +61,8 @@ pipeline {
stage('Build NRF52') { stage('Build NRF52') {
steps { steps {
sh ''' sh '''
export CH_PATH=$WORKSPACE/ChibiOS
export CHC_PATH=$WORKSPACE
./tools/chbuild.sh ./testhal/NRF52/ ./tools/chbuild.sh ./testhal/NRF52/
./tools/chbuild.sh ./demos/NRF52/ ./tools/chbuild.sh ./demos/NRF52/
''' '''
@ -66,6 +72,8 @@ pipeline {
stage('Build Kinetis') { stage('Build Kinetis') {
steps { steps {
sh ''' sh '''
export CH_PATH=$WORKSPACE/ChibiOS
export CHC_PATH=$WORKSPACE
./tools/chbuild.sh ./testhal/KINETIS/ ./tools/chbuild.sh ./testhal/KINETIS/
./tools/chbuild.sh ./demos/KINETIS/ ./tools/chbuild.sh ./demos/KINETIS/
''' '''
@ -75,6 +83,8 @@ pipeline {
stage('Build LPC') { stage('Build LPC') {
steps { steps {
sh ''' sh '''
export CH_PATH=$WORKSPACE/ChibiOS
export CHC_PATH=$WORKSPACE
./tools/chbuild.sh ./demos/LPC/ ./tools/chbuild.sh ./demos/LPC/
''' '''
} }
@ -83,6 +93,8 @@ pipeline {
stage('Build NUMICRO') { stage('Build NUMICRO') {
steps { steps {
sh ''' sh '''
export CH_PATH=$WORKSPACE/ChibiOS
export CHC_PATH=$WORKSPACE
./tools/chbuild.sh ./testhal/NUMICRO/ ./tools/chbuild.sh ./testhal/NUMICRO/
./tools/chbuild.sh ./demos/NUMICRO/ ./tools/chbuild.sh ./demos/NUMICRO/
''' '''
@ -92,7 +104,5 @@ pipeline {
} }
environment { environment {
CH_BRANCH = 'stable_20.3.x' CH_BRANCH = 'stable_20.3.x'
CH_PATH = 'ChibiOS'
CHC_PATH = '.'
} }
} }