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:35:58 -08:00
|
|
|
sh 'exit 0'
|
2019-03-06 12:56:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build STM32') {
|
2019-03-06 14:35:58 -08:00
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'fpoussin/jenkins:ubuntu-18.04-arm'
|
2019-03-06 12:56:05 -08:00
|
|
|
}
|
2019-03-06 13:34:17 -08:00
|
|
|
|
2019-03-06 14:35:58 -08:00
|
|
|
}
|
|
|
|
steps {
|
2019-03-07 01:26:23 -08:00
|
|
|
sh '''git -C $WORKSPACE/ChibiOS pull || git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git
|
2019-03-06 12:56:05 -08:00
|
|
|
|
2019-03-07 01:26:23 -08:00
|
|
|
CH_PATH=$WORKSPACE/ChibiOS ./tools/chbuild.sh ./testhal/STM32/'''
|
2019-03-06 12:56:05 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|