From 0358b06f34417001574c48a0762276a78fd4729c Mon Sep 17 00:00:00 2001 From: Clemens Lauermann Date: Thu, 16 Apr 2020 19:56:11 +0200 Subject: [PATCH] add param for git path to DA in job --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 3a2357d..d48e1c2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,6 +18,7 @@ pipeline { password(name: 'PASSWORD', defaultValue: '', description: 'Passwort') string(name: 'REPOSITORY', defaultValue: '.git', description: 'URL Git-Repository DA - default Wert: Baue Vorlage') string(name: 'BRANCH', defaultValue: 'master', description: 'Branch') + string(name: 'PATH', defaultValue: '', description: "Pfad zur DA in git (z.B.: dipl/)") } stages { stage('Clean checkout of the template') { @@ -47,6 +48,7 @@ pipeline { } steps { sh ''' + cd $(params.PATH) make pdf -C HTLLE-DA-Vorlage SOURCEDIR=$(pwd) ''' }