2019-03-06 12:56:05 -08:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
|
|
|
stage('Prepare ChibiOS') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'fpoussin/jenkins:ubuntu-18.04'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
steps {
|
2019-03-06 14:20:51 -08:00
|
|
|
ws(dir: 'workspace/Contrib') {
|
|
|
|
sh 'exit 0'
|
|
|
|
}
|
|
|
|
|
2019-03-06 12:56:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build STM32') {
|
|
|
|
parallel {
|
|
|
|
stage('Build STM32') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'fpoussin/jenkins:ubuntu-18.04-arm'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
steps {
|
2019-03-06 13:53:25 -08:00
|
|
|
ws(dir: 'workspace/Contrib') {
|
2019-03-06 13:34:17 -08:00
|
|
|
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/../ChibiOS-RT
|
|
|
|
bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/STM32/'''
|
|
|
|
}
|
|
|
|
|
2019-03-06 12:56:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build NRF51') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'fpoussin/jenkins:ubuntu-18.04-arm'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
steps {
|
2019-03-06 13:53:25 -08:00
|
|
|
ws(dir: 'workspace/Contrib') {
|
2019-03-06 13:34:17 -08:00
|
|
|
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/../ChibiOS-RT
|
|
|
|
bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/NRF51/'''
|
|
|
|
}
|
|
|
|
|
2019-03-06 12:56:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build NRF52') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'fpoussin/jenkins:ubuntu-18.04-arm'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
steps {
|
2019-03-06 13:53:25 -08:00
|
|
|
ws(dir: 'workspace/Contrib') {
|
2019-03-06 13:34:17 -08:00
|
|
|
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/../ChibiOS-RT
|
|
|
|
bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/NRF52/'''
|
|
|
|
}
|
|
|
|
|
2019-03-06 12:56:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build TIVA') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'fpoussin/jenkins:ubuntu-18.04-arm'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
steps {
|
2019-03-06 13:53:25 -08:00
|
|
|
ws(dir: 'workspace/Contrib') {
|
2019-03-06 13:34:17 -08:00
|
|
|
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/../ChibiOS-RT
|
|
|
|
bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/TIVA/'''
|
|
|
|
}
|
|
|
|
|
2019-03-06 12:56:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build Kinetis') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'fpoussin/jenkins:ubuntu-18.04-arm'
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
steps {
|
2019-03-06 13:53:25 -08:00
|
|
|
ws(dir: 'workspace/Contrib') {
|
2019-03-06 13:34:17 -08:00
|
|
|
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/../ChibiOS-RT
|
|
|
|
bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/KINETIS/'''
|
|
|
|
}
|
|
|
|
|
2019-03-06 12:56:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|