Updated Jenkinsfile

This commit is contained in:
WolverinDEV 2018-11-01 17:00:46 +01:00
parent b57e670356
commit cd540cc4d0

44
Jenkinsfile vendored
View File

@ -34,14 +34,28 @@ pipeline {
expression { params.build_libraries }
}
stages {
stage ('Updating libraries') {
steps {
sh 'apt-get update'
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge'
sh './attach_modules.sh'
}
}
stage ('Building libraries') {
when {
expression { params.build_libraries }
}
steps {
sh 'cd libraries; ./build.sh'
}
}
}
}
stage ('Build TeaSpeak Debug') {
@ -79,13 +93,26 @@ pipeline {
expression { params.build_libraries }
}
stages {
stage ('Updating libraries') {
steps {
sh 'apt-get update'
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge'
sh './attach_modules.sh'
sh 'cd libraries; ./build.sh'
}
}
stage ('Building libraries') {
when {
expression { params.build_libraries }
}
steps {
sh 'cd libraries; ./build.sh'
}
}
}
}
@ -126,13 +153,26 @@ pipeline {
expression { params.build_libraries }
}
stages {
stage ('Updating libraries') {
steps {
sh 'apt-get update'
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge'
sh './attach_modules.sh'
sh 'cd libraries; ./build.sh'
}
}
stage ('Building libraries') {
when {
expression { params.build_libraries }
}
steps {
sh 'cd libraries; ./build.sh'
}
}
}
}