Edited jenkins file

This commit is contained in:
WolverinDEV 2018-08-11 11:39:50 +02:00
parent 17196437f9
commit 9dfca6f80d

4
Jenkinsfile vendored
View File

@ -27,7 +27,7 @@ pipeline {
stage ('Initialize libraries') { stage ('Initialize libraries') {
steps { steps {
sh 'apt-get update' sh 'apt-get update'
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive' sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge' sh 'git submodule update --merge'
sh './attach_modules.sh' sh './attach_modules.sh'
sh 'cd libraries; ./build.sh' sh 'cd libraries; ./build.sh'
@ -69,7 +69,7 @@ pipeline {
stage ('Initialize libraries') { stage ('Initialize libraries') {
steps { steps {
sh 'apt-get update' sh 'apt-get update'
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive' sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
sh 'git submodule update --merge' sh 'git submodule update --merge'
sh './attach_modules.sh' sh './attach_modules.sh'
sh 'cd libraries; ./build.sh' sh 'cd libraries; ./build.sh'