diff options
author | Fabien Poussin <fabien.poussin@gmail.com> | 2019-03-07 17:25:16 +0100 |
---|---|---|
committer | Fabien Poussin <fabien.poussin@gmail.com> | 2019-03-07 17:25:16 +0100 |
commit | 7a7d472bb3915d52d815eb507ed6ebd6f4681a44 (patch) | |
tree | edd55ca3db8cc55f95588630546a24306c39243e | |
parent | 7c02ec8dea2f9a6f3cd715311544c0d446050094 (diff) | |
download | ChibiOS-Contrib-7a7d472bb3915d52d815eb507ed6ebd6f4681a44.tar.gz ChibiOS-Contrib-7a7d472bb3915d52d815eb507ed6ebd6f4681a44.tar.bz2 ChibiOS-Contrib-7a7d472bb3915d52d815eb507ed6ebd6f4681a44.zip |
Added Jenkinsfile
-rw-r--r-- | Jenkinsfile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 1d23778..d0dea6d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,9 @@ pipeline { steps { sh '''echo $CH_BRANCH echo $CH_PATH -echo $CHC_PATH''' +echo $CHC_PATH + +exit 0''' } } stage('Build STM32') { @@ -29,14 +31,19 @@ git clone -b $CH_BRANCH --single-branch https://github.com/ChibiOS/ChibiOS.git $ cd $CH_PATH/ext for i in *.7z; do 7z x -y $i; done''' - sh './tools/chbuild.sh ./testhal/STM32/' - sh './tools/chbuild.sh ./demos/STM32/' + sh '''export CH_PATH=$WORKSPACE/ChibiOS +export CHC_PATH=$WORKSPACE + +./tools/chbuild.sh ./testhal/STM32/''' + sh '''export CH_PATH=$WORKSPACE/ChibiOS +export CHC_PATH=$WORKSPACE + +./tools/chbuild.sh ./demos/STM32/''' } } } environment { CH_BRANCH = 'stable_18.2.x' - CH_PATH = '$PWD/ChibiOS' - CHC_PATH = '$PWD' + CH_PATH = 'ChibiOS' } }
\ No newline at end of file |