Added Jenkinsfile

This commit is contained in:
Fabien Poussin 2019-03-06 23:44:46 +01:00
parent c5e0d2788e
commit ddebfb2360
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -20,11 +20,11 @@ pipeline {
}
steps {
sh '''mkdir /tmp/contrib
cp -r $WORKSPACE/* $WORKSPACE/.git /tmp/contrib/
sh '''mkdir /tmp/contrib_$EXECUTOR_NUMBER
cp -r $WORKSPACE/* $WORKSPACE/.git /tmp/contrib_$EXECUTOR_NUMBER
mv -v /tmp/contrib $WORKSPACE/'''
cp -r /tmp/contrib_$EXECUTOR_NUMBER $WORKSPACE/'''
sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
cd $WORKSPACE/contrib
bash ./tools/chbuild.sh ./testhal/STM32/'''