aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-03-06 21:56:05 +0100
committerFabien Poussin <fabien.poussin@gmail.com>2019-03-06 21:56:05 +0100
commitc4f2b98ee139b1659db9ee793194b63f257ec64d (patch)
treeec8072186e6af33b9639e1094775d3c95cd3801e /Jenkinsfile
parent30773367ffe615e7de5042f25a1867793314de25 (diff)
downloadChibiOS-Contrib-c4f2b98ee139b1659db9ee793194b63f257ec64d.tar.gz
ChibiOS-Contrib-c4f2b98ee139b1659db9ee793194b63f257ec64d.tar.bz2
ChibiOS-Contrib-c4f2b98ee139b1659db9ee793194b63f257ec64d.zip
Added Jenkinsfile
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile80
1 files changed, 80 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..b24c08f
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,80 @@
+pipeline {
+ agent any
+ stages {
+ stage('Prepare ChibiOS') {
+ agent {
+ docker {
+ image 'fpoussin/jenkins:ubuntu-18.04'
+ }
+
+ }
+ steps {
+ sh 'exit 0'
+ }
+ }
+ stage('Build STM32') {
+ parallel {
+ stage('Build STM32') {
+ agent {
+ docker {
+ image 'fpoussin/jenkins:ubuntu-18.04-arm'
+ }
+
+ }
+ steps {
+ sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git ../ChibiOS-RT
+bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/STM32/'''
+ }
+ }
+ stage('Build NRF51') {
+ agent {
+ docker {
+ image 'fpoussin/jenkins:ubuntu-18.04-arm'
+ }
+
+ }
+ steps {
+ sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git ../ChibiOS-RT
+bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/NRF51/'''
+ }
+ }
+ stage('Build NRF52') {
+ agent {
+ docker {
+ image 'fpoussin/jenkins:ubuntu-18.04-arm'
+ }
+
+ }
+ steps {
+ sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git ../ChibiOS-RT
+bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/NRF52/'''
+ }
+ }
+ stage('Build TIVA') {
+ agent {
+ docker {
+ image 'fpoussin/jenkins:ubuntu-18.04-arm'
+ }
+
+ }
+ steps {
+ sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git ../ChibiOS-RT
+bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/TIVA/'''
+ }
+ }
+ stage('Build Kinetis') {
+ agent {
+ docker {
+ image 'fpoussin/jenkins:ubuntu-18.04-arm'
+ }
+
+ }
+ steps {
+ sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git ../ChibiOS-RT
+bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/KINETIS/'''
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file