From 68b253761a7e5a51a868afdc7db6fb29e95e39cb Mon Sep 17 00:00:00 2001 From: denes Date: Thu, 11 Jul 2019 00:05:19 +0200 Subject: [PATCH] Jenkinsfile should git-checkout submodules --- Jenkinsfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b109611..f310114 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,10 +2,16 @@ pipeline { agent any stages { + stage('Cloning git sumbodules') { + steps { + sh 'git submodule update --init --recursive' + } + } + stage('Compile') { steps { - echo 'Building..' - sh 'cmake . && make' + sh 'cmake .' + sh 'make -j 4' } } }