add param for git path to DA in job

This commit is contained in:
Clemens Lauermann 2020-04-16 19:56:11 +02:00
parent 8617f73686
commit 0358b06f34

2
Jenkinsfile vendored
View File

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