Updated Jenkinsfile

This commit is contained in:
WolverinDEV 2019-04-19 15:47:14 +02:00
parent 1b74f1ea7a
commit 5411b4832b

33
Jenkinsfile vendored
View File

@ -24,19 +24,6 @@ pipeline {
}
stages {
/* first of all we have to update our libraries */
stage ('libraries::update') {
when {
expression { params.target != "" && params.target != 'none' }
}
steps {
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge'
sh './attach_modules.sh'
}
}
/* build all amd64 stuff */
stage ('build::x64') {
agent {
@ -46,7 +33,16 @@ pipeline {
expression { params.target == "x64_debug" || params.target == "x64_release" || params.target == "x64_stable" }
}
stages {
stages {
/* first of all we have to update our libraries */
stage ('libraries::update') {
steps {
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge'
sh './attach_modules.sh'
}
}
stage ('build::x64::libraries') {
when {
expression { params.build_libraries }
@ -167,6 +163,15 @@ pipeline {
}
stages {
/* first of all we have to update our libraries */
stage ('libraries::update') {
steps {
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge'
sh './attach_modules.sh'
}
}
stage ('build::x86::libraries') {
when {
expression { params.build_libraries }