diff --git a/Jenkinsfile b/Jenkinsfile index 391e3ca..18fb103 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,6 +18,7 @@ pipeline { MAKE_OPTIONS = '-j32' JENKINS_BUILD_TARGET="${params.target}" + BUILD_TYPE="${params.build_type}" } stages { @@ -61,7 +62,7 @@ pipeline { } steps { - sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/amd64_${params.build_type}' + sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/amd64_${BUILD_TYPE}' } } } @@ -107,7 +108,7 @@ pipeline { } steps { - sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/x86_${params.build_type}' + sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/x86_${BUILD_TYPE}' } } } @@ -153,7 +154,7 @@ pipeline { } steps { - sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/arm32v7_${params.build_type}' + sh 'cd TeaSpeak/server/repro/; chmod 400 build_private_key; ./build.sh linux/arm32v7_${BUILD_TYPE}' } } }