aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-03-07 10:45:20 +0100
committerFabien Poussin <fabien.poussin@gmail.com>2019-03-07 10:45:20 +0100
commitc4b16f95b9ce7833ef608e714d847abefaa65866 (patch)
tree55fc257c3ebe8fd02cd6b700cd8eef74957de43f /Jenkinsfile
parent19dd0a51071d1ead97fb149bb677c4aecccf72dc (diff)
downloadChibiOS-Contrib-c4b16f95b9ce7833ef608e714d847abefaa65866.tar.gz
ChibiOS-Contrib-c4b16f95b9ce7833ef608e714d847abefaa65866.tar.bz2
ChibiOS-Contrib-c4b16f95b9ce7833ef608e714d847abefaa65866.zip
Added Jenkinsfile
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index b3edf69..28b49e7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -22,7 +22,7 @@ pipeline {
steps {
sh '''BRANCH=stable_18.2.x
-git -C $WORKSPACE/ChibiOS checkout $BRANCH && git -C $WORKSPACE/ChibiOS pull || git clone -b $BRANCH --single-branch https://github.com/ChibiOS/ChibiOS.git'''
+git -C $WORKSPACE/ChibiOS checkout $BRANCH && git -C $WORKSPACE/ChibiOS pull || rm -rf $WORKSPACE/ChibiOS && git clone -b $BRANCH --single-branch https://github.com/ChibiOS/ChibiOS.git'''
sh 'CH_PATH=$WORKSPACE/ChibiOS CHC_PATH=$WORKSPACE ./tools/chbuild.sh ./testhal/STM32/'
sh 'CH_PATH=$WORKSPACE/ChibiOS CHC_PATH=$WORKSPACE ./tools/chbuild.sh ./demos/STM32/'
}