diff --git a/Jenkinsfile b/Jenkinsfile index d60ef8a..6383937 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } } }