Improve Jenkinsfile
This commit is contained in:
parent
0b4bf1fbae
commit
2dc38063a5
@ -2,10 +2,24 @@ pipeline {
|
|||||||
|
|
||||||
node ('tau2013z') {
|
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') {
|
stage ('build-pdf') {
|
||||||
sh """
|
sh """
|
||||||
bash build.sh
|
bash build.sh
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage ('autozoil') {
|
||||||
|
sh """
|
||||||
|
bash check.sh
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
archiveArtifacts artifacts: '{{cookiecutter.thesis_surname}}.pdf', fingerprint: true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user