fixed script

This commit is contained in:
WolverinDEV 2020-01-26 17:33:58 +01:00
parent e9116b6dd9
commit 93aa8d3bec

7
Jenkinsfile vendored
View File

@ -18,6 +18,7 @@ pipeline {
MAKE_OPTIONS = '-j32' MAKE_OPTIONS = '-j32'
JENKINS_BUILD_TARGET="${params.target}" JENKINS_BUILD_TARGET="${params.target}"
BUILD_TYPE="${params.build_type}"
} }
stages { stages {
@ -61,7 +62,7 @@ pipeline {
} }
steps { 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 { 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 { 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}'
} }
} }
} }