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