Improve Jenkinsfile

This commit is contained in:
Filip Gralinski 2019-12-02 20:15:30 +01:00
parent 0b4bf1fbae
commit 2dc38063a5

View File

@ -2,10 +2,24 @@ pipeline {
node ('tau2013z') {
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
"""
}
stage ('autozoil') {
sh """
bash check.sh
"""
}
post {
always {
archiveArtifacts artifacts: '{{cookiecutter.thesis_surname}}.pdf', fingerprint: true
}
}
}
}