Update Jenkinsfile
This commit is contained in:
parent
d796607378
commit
0e5d8240a5
|
@ -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 = '.'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue