From 5411b4832b83c9f07bf0fe4c9c7daa196871414d Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 19 Apr 2019 15:47:14 +0200 Subject: [PATCH] Updated Jenkinsfile --- Jenkinsfile | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 98312b9..d396c4a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 }