ChibiOS-Contrib/Jenkinsfile

34 lines
675 B
Plaintext
Raw Normal View History

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 {
sh '''mkdir /tmp/contrib
2019-03-06 14:37:11 -08:00
cp -r $WORKSPACE/* $WORKSPACE/.git /tmp/contrib/
2019-03-06 12:56:05 -08:00
2019-03-06 13:34:17 -08:00
2019-03-06 14:35:58 -08:00
mv -v /tmp/contrib $WORKSPACE/'''
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
2019-03-06 14:39:14 -08:00
cd $WORKSPACE/contrib
bash ./tools/chbuild.sh ./testhal/STM32/'''
2019-03-06 12:56:05 -08:00
}
}
}
}