forked from Hg/htlle-da-vorlage
add param for git path to DA in job
This commit is contained in:
parent
8617f73686
commit
0358b06f34
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -18,6 +18,7 @@ pipeline {
|
|||||||
password(name: 'PASSWORD', defaultValue: '', description: 'Passwort')
|
password(name: 'PASSWORD', defaultValue: '', description: 'Passwort')
|
||||||
string(name: 'REPOSITORY', defaultValue: '.git', description: 'URL Git-Repository DA - default Wert: Baue Vorlage')
|
string(name: 'REPOSITORY', defaultValue: '.git', description: 'URL Git-Repository DA - default Wert: Baue Vorlage')
|
||||||
string(name: 'BRANCH', defaultValue: 'master', description: 'Branch')
|
string(name: 'BRANCH', defaultValue: 'master', description: 'Branch')
|
||||||
|
string(name: 'PATH', defaultValue: '', description: "Pfad zur DA in git (z.B.: dipl/)")
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Clean checkout of the template') {
|
stage('Clean checkout of the template') {
|
||||||
@ -47,6 +48,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
|
cd $(params.PATH)
|
||||||
make pdf -C HTLLE-DA-Vorlage SOURCEDIR=$(pwd)
|
make pdf -C HTLLE-DA-Vorlage SOURCEDIR=$(pwd)
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user