Added Jenkinsfile
This commit is contained in:
parent
19dd0a5107
commit
c4b16f95b9
|
@ -22,7 +22,7 @@ pipeline {
|
|||
steps {
|
||||
sh '''BRANCH=stable_18.2.x
|
||||
|
||||
git -C $WORKSPACE/ChibiOS checkout $BRANCH && git -C $WORKSPACE/ChibiOS pull || git clone -b $BRANCH --single-branch https://github.com/ChibiOS/ChibiOS.git'''
|
||||
git -C $WORKSPACE/ChibiOS checkout $BRANCH && git -C $WORKSPACE/ChibiOS pull || rm -rf $WORKSPACE/ChibiOS && git clone -b $BRANCH --single-branch https://github.com/ChibiOS/ChibiOS.git'''
|
||||
sh 'CH_PATH=$WORKSPACE/ChibiOS CHC_PATH=$WORKSPACE ./tools/chbuild.sh ./testhal/STM32/'
|
||||
sh 'CH_PATH=$WORKSPACE/ChibiOS CHC_PATH=$WORKSPACE ./tools/chbuild.sh ./demos/STM32/'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue