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) ''' }