From 71163182ecaa7ddd0bda3c050b37249697ac6361 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 8 Aug 2018 21:53:18 +0200 Subject: [PATCH] Apply jenkins file --- Jenkinsfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..d67cbe7 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,24 @@ +pipeline { + agent any + stages { + label 'linux && debian && teaspeak' + } + + steps { + stage ('Initialize libraries') { + steps { + sh 'apt-get update' + sh 'git submodule update --init --remote --recursive' + sh './attach_modules.sh' + dir ('libraries') { + sh 'build.sh' + } + } + } + stage ('Build TeaSpeak') { + steps { + sh 'build_teaspeak.sh' + } + } + } +}