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 13:08:30 -08:00
|
|
|
sh '''rm -rf $WORKSPACE/contrib
|
|
|
|
mkdir -p $WORKSPACE/contrib
|
2019-03-06 13:13:55 -08:00
|
|
|
mv -fv $WORKSPACE/* $WORKSPACE/.git $WORKSPACE/contrib/'''
|
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:03:09 -08:00
|
|
|
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
|
|
|
|
bash $WORKSPACE/contrib/tools/chbuild.sh $WORKSPACE/contrib/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:03:09 -08:00
|
|
|
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
|
|
|
|
bash $WORKSPACE/contrib/tools/chbuild.sh $WORKSPACE/contrib/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:03:09 -08:00
|
|
|
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
|
|
|
|
bash $WORKSPACE/contrib/tools/chbuild.sh $WORKSPACE/contrib/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:03:09 -08:00
|
|
|
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
|
|
|
|
bash $WORKSPACE/contrib/tools/chbuild.sh $WORKSPACE/contrib/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:03:09 -08:00
|
|
|
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
|
|
|
|
bash $WORKSPACE/contrib/tools/chbuild.sh $WORKSPACE/contrib/testhal/KINETIS/'''
|
2019-03-06 12:56:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|