summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2016-10-25 11:10:21 -0700
committerGrant Limberg <grant.limberg@zerotier.com>2016-10-25 11:10:21 -0700
commit604a0b1fe6aa5fb0d56cb7e4b6fc16e371360cf8 (patch)
tree24fa45f8381e5ad225990c4c039e1d127c3f416d
parent0e8442064e92b856e248803922d875331559b617 (diff)
downloadinfinitytier-604a0b1fe6aa5fb0d56cb7e4b6fc16e371360cf8.tar.gz
infinitytier-604a0b1fe6aa5fb0d56cb7e4b6fc16e371360cf8.zip
added Jenkinsfile for jenkins build config
-rw-r--r--Jenkinsfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 00000000..806f7356
--- /dev/null
+++ b/Jenkinsfile
@@ -0,0 +1,18 @@
+#!/usr/bin/env groovy
+
+parallel 'centos7': {
+ node('centos7') {
+ stage "Checkout Centos 7"
+ checkout scm
+
+ stage "Build Centos 7"
+ sh 'make -f make-linux.mk'
+ }
+}, 'android-ndk': {
+ node('android-ndk') {
+ stage "Checkout Android NDK"
+ checkout scm
+ stage "Build Android NDK"
+ sh '/android/android-ndk-r13/ndk-build -C $WORKSPACE/java ZT1=$WORKSPACE'
+ }
+}