Added Jenkinsfile

This commit is contained in:
Fabien Poussin 2019-03-07 10:26:23 +01:00
parent 559e7bd1d7
commit 9ca52f9dc3
1 changed files with 2 additions and 7 deletions

9
Jenkinsfile vendored
View File

@ -20,14 +20,9 @@ pipeline {
}
steps {
sh '''mkdir /tmp/contrib_$EXECUTOR_NUMBER
sh '''git -C $WORKSPACE/ChibiOS pull || git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git
cp -r $WORKSPACE/* $WORKSPACE/.git /tmp/contrib_$EXECUTOR_NUMBER
cp -r /tmp/contrib_$EXECUTOR_NUMBER $WORKSPACE/'''
sh '''git -C $WORKSPACE/ChibiOS-RT pull || git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
cd $WORKSPACE/contrib_$EXECUTOR_NUMBER
bash ./tools/chbuild.sh ./testhal/STM32/'''
CH_PATH=$WORKSPACE/ChibiOS ./tools/chbuild.sh ./testhal/STM32/'''
}
}
}