Updating file

This commit is contained in:
WolverinDEV 2018-11-24 16:34:24 +01:00
parent 24a32f2555
commit fc2194bbcb

38
Jenkinsfile vendored
View File

@ -24,7 +24,7 @@ pipeline {
stages {
stage ('build') {
parallel {
stage ('Build x86') {
stage ('build::x86::debug') {
agent {
label 'linux && x84 && teaspeak'
}
@ -33,9 +33,9 @@ pipeline {
}
stages {
stage ('Initialize libraries') {
stage ('build::x86::debug::libraries') {
stages {
stage ('Updating libraries') {
stage ('build::x86::debug::libraries::update') {
steps {
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge'
@ -43,7 +43,7 @@ pipeline {
}
}
stage ('Building libraries') {
stage ('build::x86::debug::libraries::build') {
when {
expression { params.build_libraries }
}
@ -56,18 +56,18 @@ pipeline {
}
stage ('Build TeaSpeak Debug') {
stage ('build::x86::debug') {
environment {
TEASPEAK_BUILD_TYPE="Debug"
}
stages {
stage ('build') {
stage ('build::x86::debug::build') {
steps {
sh './build_teaspeak.sh'
}
}
stage ('deploy') {
stage ('build::x86::debug::deploy') {
when {
expression { params.deploy_build }
}
@ -80,7 +80,7 @@ pipeline {
}
}
stage ('Build amd64 Debug') {
stage ('build::amd64::debug') {
agent {
label 'linux && amd64 && teaspeak'
}
@ -89,9 +89,9 @@ pipeline {
}
stages {
stage ('Initialize libraries') {
stage ('build::amd64::debug::libraries') {
stages {
stage ('Updating libraries') {
stage ('build::amd64::debug::libraries::update') {
steps {
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge'
@ -99,7 +99,7 @@ pipeline {
}
}
stage ('Building libraries') {
stage ('build::amd64::debug::libraries::build') {
when {
expression { params.build_libraries }
}
@ -111,7 +111,7 @@ pipeline {
}
}
stage ('Build') {
stage ('build::amd64::debug::build') {
environment {
TEASPEAK_BUILD_TYPE="Debug"
}
@ -121,7 +121,7 @@ pipeline {
}
}
stage ('Deploy') {
stage ('build::amd64::debug::deploy') {
when {
expression { params.deploy_build }
}
@ -133,7 +133,7 @@ pipeline {
}
}
stage ('Build amd64 Release') {
stage ('build::amd64::release::deploy') {
when {
expression { params.target == "all" || params.target == "x64_release" || params.build_optimized }
}
@ -143,9 +143,9 @@ pipeline {
}
stages {
stage ('Initialize libraries') {
stage ('build::amd64::release::libraries') {
stages {
stage ('Updating libraries') {
stage ('build::amd64::release::libraries::update') {
steps {
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge'
@ -153,7 +153,7 @@ pipeline {
}
}
stage ('Building libraries') {
stage ('build::amd64::release::libraries::build') {
when {
expression { params.build_libraries }
}
@ -165,7 +165,7 @@ pipeline {
}
}
stage ('Build') {
stage ('build::amd64::release::build') {
environment {
TEASPEAK_BUILD_TYPE="Release"
}
@ -175,7 +175,7 @@ pipeline {
}
}
stage ('Deploy') {
stage ('build::amd64::release::deploy') {
when {
expression { params.deploy_build }
}