Updated Jenkinsfile

This commit is contained in:
WolverinDEV 2019-04-19 14:07:20 +02:00
parent 7ab5f8ea2c
commit 03d25cac83

35
Jenkinsfile vendored
View File

@ -85,7 +85,7 @@ pipeline {
}
steps {
sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/amd64'
sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/amd64_debug'
}
}
}
@ -119,6 +119,35 @@ pipeline {
}
}
}
stage ('build::x64::stable') {
when {
expression { params.target == "x64_stable" }
}
stages {
stage ('build::x64::stable::build') {
environment {
TEASPEAK_BUILD_TYPE="Release"
CMAKE_BUILD_TYPE="RelWithDebInfo"
}
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/amd64_stable'
}
}
}
}
}
}
@ -170,7 +199,7 @@ pipeline {
}
steps {
sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/amd64'
sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/x86_debug'
}
}
}
@ -199,7 +228,7 @@ pipeline {
}
steps {
sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/x86'
sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/x86_optimized'
}
}
}