From 189ab3596e6f3096b9ed0bbdd333fd4bf45cab21 Mon Sep 17 00:00:00 2001 From: Clemens Lauermann Date: Thu, 16 Apr 2020 20:25:00 +0200 Subject: [PATCH] include and update the HTL-Template submodule --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d48e1c2..1e8db6a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,10 +35,11 @@ pipeline { expression { '.git' != params.REPOSITORY } } steps { + cleanWs() sh ''' login_url_sub="https://"$(params.USERNAME)":"$(params.PASSWORD)"@" sub='https;//' - git clone $($(params.REPOSITORY)/$(sub)/$(login_url_sub)) . + git clone --recurse-submodules --remote-submodules $($(params.REPOSITORY)/$(sub)/$(login_url_sub)) . ''' } }