Fix Jenkinsfile
This commit is contained in:
parent
1ff097323d
commit
2e58b878a9
@ -145,6 +145,7 @@ vcs.xml
|
||||
*.idx
|
||||
*.lof
|
||||
*.lot
|
||||
*.brf
|
||||
/auto
|
||||
{{cookiecutter.thesis_surname}}.pdf
|
||||
{{cookiecutter.thesis_surname}}.zip
|
||||
|
@ -1,13 +1,23 @@
|
||||
pipeline {
|
||||
|
||||
node ('tau2013z') {
|
||||
agent { label 'tau2013z' }
|
||||
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'autozoil']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gitlab.com/filipg/autozoil.git']]])
|
||||
stages {
|
||||
|
||||
stage ('get-autozoil') {
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'autozoil']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gitlab.com/filipg/autozoil.git']]])
|
||||
}
|
||||
|
||||
stage ('build-pdf') {
|
||||
sh """
|
||||
bash build.sh
|
||||
"""
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: '{{cookiecutter.thesis_surname}}.pdf', fingerprint: true
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
stage ('autozoil') {
|
||||
@ -16,10 +26,5 @@ AUTOZOIL_DIR=autozoil bash check.sh
|
||||
"""
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: '{{cookiecutter.thesis_surname}}.pdf', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user