Fix Jenkinsfile

This commit is contained in:
Filip Gralinski 2019-12-02 20:25:31 +01:00
parent 1ff097323d
commit 2e58b878a9
2 changed files with 13 additions and 7 deletions

View File

@ -145,6 +145,7 @@ vcs.xml
*.idx
*.lof
*.lot
*.brf
/auto
{{cookiecutter.thesis_surname}}.pdf
{{cookiecutter.thesis_surname}}.zip

View File

@ -1,13 +1,23 @@
pipeline {
node ('tau2013z') {
agent { label 'tau2013z' }
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
}
}
}
}