Fixed jenkins file

This commit is contained in:
WolverinDEV 2019-06-20 13:10:41 +02:00
parent 3776f10afa
commit d4e2639919

31
Jenkinsfile vendored
View File

@ -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'
}
}
}
}
}
}
}