Added Jenkinsfile

This commit is contained in:
Fabien Poussin 2020-12-06 01:01:27 +01:00
parent 057d889384
commit d796607378
1 changed files with 13 additions and 3 deletions

14
Jenkinsfile vendored
View File

@ -1,6 +1,9 @@
pipeline { pipeline {
agent { agent {
docker { image 'fpoussin/jenkins:ubuntu-18.04-chibios' } docker {
image 'fpoussin/jenkins:ubuntu-18.04-chibios'
}
} }
stages { stages {
stage('Prepare ChibiOS') { stage('Prepare ChibiOS') {
@ -12,7 +15,6 @@ pipeline {
exit 0 exit 0
''' '''
sh ''' sh '''
arm-none-eabi-gcc -v arm-none-eabi-gcc -v
@ -33,6 +35,7 @@ pipeline {
''' '''
} }
} }
stage('Build STM32') { stage('Build STM32') {
steps { steps {
sh ''' sh '''
@ -41,6 +44,7 @@ pipeline {
''' '''
} }
} }
stage('Build NRF51') { stage('Build NRF51') {
steps { steps {
sh ''' sh '''
@ -49,6 +53,7 @@ pipeline {
''' '''
} }
} }
stage('Build NRF52') { stage('Build NRF52') {
steps { steps {
sh ''' sh '''
@ -57,6 +62,7 @@ pipeline {
''' '''
} }
} }
stage('Build Kinetis') { stage('Build Kinetis') {
steps { steps {
sh ''' sh '''
@ -65,6 +71,7 @@ pipeline {
''' '''
} }
} }
stage('Build LPC') { stage('Build LPC') {
steps { steps {
sh ''' sh '''
@ -72,6 +79,7 @@ pipeline {
''' '''
} }
} }
stage('Build NUMICRO') { stage('Build NUMICRO') {
steps { steps {
sh ''' sh '''
@ -80,9 +88,11 @@ pipeline {
''' '''
} }
} }
} }
environment { environment {
CH_BRANCH = 'stable_20.3.x' CH_BRANCH = 'stable_20.3.x'
CH_PATH = 'ChibiOS' CH_PATH = 'ChibiOS'
CHC_PATH = '.'
} }
} }