Updating file

This commit is contained in:
WolverinDEV 2018-11-24 16:26:52 +01:00
parent ce3a26d916
commit 24a32f2555

9
Jenkinsfile vendored
View File

@ -5,6 +5,7 @@ pipeline {
booleanParam(defaultValue: false, description: 'Enabled/disables the building of an optimized build', name: 'build_optimized')
booleanParam(defaultValue: true, description: 'Build the libraries as well', name: 'build_libraries')
booleanParam(defaultValue: true, description: 'Deploy this build', name: 'deploy_build')
choice(choices: ['all', 'x86_debug', 'x64_debug', 'x64_release'], description: 'Which target do you want to build?', name: 'target')
}
environment {
@ -27,6 +28,9 @@ pipeline {
agent {
label 'linux && x84 && teaspeak'
}
when {
expression { params.target == "" || params.target == "all" || params.target == "x86_debug" }
}
stages {
stage ('Initialize libraries') {
@ -80,6 +84,9 @@ pipeline {
agent {
label 'linux && amd64 && teaspeak'
}
when {
expression { params.target == "" || params.target == "all" || params.target == "x64_debug" }
}
stages {
stage ('Initialize libraries') {
@ -128,7 +135,7 @@ pipeline {
stage ('Build amd64 Release') {
when {
expression { params.build_optimized }
expression { params.target == "all" || params.target == "x64_release" || params.build_optimized }
}
agent {