From d4e2639919b4f39f0420d54bf8593bb43b169383 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Thu, 20 Jun 2019 13:10:41 +0200 Subject: [PATCH] Fixed jenkins file --- Jenkinsfile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 93477e3..b0e0671 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -249,6 +249,37 @@ pipeline { } } } + + stage ('build::x64::stable') { + when { + expression { params.target == "x86_stable" } + } + + stages { + stage ('build::x86::stable::build') { + environment { + TEASPEAK_BUILD_TYPE="Release" + CMAKE_BUILD_TYPE="RelWithDebInfo" + + TEASPEAK_DEPLOY_TYPE_SPECIFIER="-DBUILD_TYPE=0 -DBUILD_TYPE_NAME=''" + } + + steps { + sh './build_teaspeak.sh' + } + } + + stage ('build::amd64::stable::deploy') { + when { + expression { params.deploy_build } + } + + steps { + sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/x86_stable' + } + } + } + } } } }