Updated Jenkinsfile

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

31
Jenkinsfile vendored
View File

@ -24,19 +24,6 @@ pipeline {
} }
stages { 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 */ /* build all amd64 stuff */
stage ('build::x64') { stage ('build::x64') {
agent { agent {
@ -47,6 +34,15 @@ pipeline {
} }
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') { stage ('build::x64::libraries') {
when { when {
expression { params.build_libraries } expression { params.build_libraries }
@ -167,6 +163,15 @@ pipeline {
} }
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::x86::libraries') { stage ('build::x86::libraries') {
when { when {
expression { params.build_libraries } expression { params.build_libraries }