Updated Jenkinsfile
This commit is contained in:
parent
7ab5f8ea2c
commit
03d25cac83
35
Jenkinsfile
vendored
35
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user