From d63b1eee01fed8d5f6ebe328d596cb89eaa762a0 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Mon, 25 Sep 2023 16:12:42 +0200 Subject: [PATCH] fix: add git init stage --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 4dfd5a9..0a80fba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -50,6 +50,14 @@ pipeline{ } stages { + stage('git init') { + steps { + sh''' + cd $WORKSPACE + git submodule update --init --depth 1 + ''' + } + } stage('Build AMD64') { agent { docker {