aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-03-06 22:03:09 +0100
committerFabien Poussin <fabien.poussin@gmail.com>2019-03-06 22:03:09 +0100
commitca5a2353e5e3e8006db4f0f1ef28c9a5331518cc (patch)
tree3e3609e0c0084d5f7b785d8f4e55a96c7d6463cb /Jenkinsfile
parentc4f2b98ee139b1659db9ee793194b63f257ec64d (diff)
downloadChibiOS-Contrib-ca5a2353e5e3e8006db4f0f1ef28c9a5331518cc.tar.gz
ChibiOS-Contrib-ca5a2353e5e3e8006db4f0f1ef28c9a5331518cc.tar.bz2
ChibiOS-Contrib-ca5a2353e5e3e8006db4f0f1ef28c9a5331518cc.zip
Added Jenkinsfile
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile23
1 files changed, 12 insertions, 11 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index b24c08f..6956e66 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -9,7 +9,8 @@ pipeline {
}
steps {
- sh 'exit 0'
+ sh '''mkdir -p $WORKSPACE/contrib
+mv -v $WORKSPACE/* $WORKSPACE/.* contrib/'''
}
}
stage('Build STM32') {
@@ -22,8 +23,8 @@ pipeline {
}
steps {
- sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git ../ChibiOS-RT
-bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/STM32/'''
+ sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
+bash $WORKSPACE/contrib/tools/chbuild.sh $WORKSPACE/contrib/testhal/STM32/'''
}
}
stage('Build NRF51') {
@@ -34,8 +35,8 @@ bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/STM32/'''
}
steps {
- sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git ../ChibiOS-RT
-bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/NRF51/'''
+ sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
+bash $WORKSPACE/contrib/tools/chbuild.sh $WORKSPACE/contrib/testhal/NRF51/'''
}
}
stage('Build NRF52') {
@@ -46,8 +47,8 @@ bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/NRF51/'''
}
steps {
- sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git ../ChibiOS-RT
-bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/NRF52/'''
+ sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
+bash $WORKSPACE/contrib/tools/chbuild.sh $WORKSPACE/contrib/testhal/NRF52/'''
}
}
stage('Build TIVA') {
@@ -58,8 +59,8 @@ bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/NRF52/'''
}
steps {
- sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git ../ChibiOS-RT
-bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/TIVA/'''
+ sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
+bash $WORKSPACE/contrib/tools/chbuild.sh $WORKSPACE/contrib/testhal/TIVA/'''
}
}
stage('Build Kinetis') {
@@ -70,8 +71,8 @@ bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/TIVA/'''
}
steps {
- sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git ../ChibiOS-RT
-bash $WORKSPACE/tools/chbuild.sh $WORKSPACE/testhal/KINETIS/'''
+ sh '''git clone -b stable_19.1.x --single-branch https://github.com/ChibiOS/ChibiOS.git $WORKSPACE/ChibiOS-RT
+bash $WORKSPACE/contrib/tools/chbuild.sh $WORKSPACE/contrib/testhal/KINETIS/'''
}
}
}