From 0bcebf81878f54b3cac13353e43bf2a36f840569 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Thu, 9 Aug 2018 23:21:14 +0200 Subject: [PATCH] updates --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a408b8c..5484df3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,7 @@ pipeline { stage ('Initialize libraries') { steps { sh 'apt-get update' - sh 'git submodule update --init --remote --recursive' + sh 'git reset --hard origin/master; git submodule update --init --remote --recursive' sh 'git submodule update --merge' sh './attach_modules.sh' sh 'cd libraries; ./build.sh' @@ -69,7 +69,7 @@ pipeline { stage ('Initialize libraries') { steps { sh 'apt-get update' - sh 'git submodule update --init --remote --recursive' + sh 'git reset --hard origin/master; git submodule update --init --remote --recursive' sh 'git submodule update --merge' sh './attach_modules.sh' sh 'cd libraries; ./build.sh'