31 lines
726 B
Groovy
31 lines
726 B
Groovy
pipeline {
|
|
|
|
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') {
|
|
sh """
|
|
AUTOZOIL_DIR=autozoil bash check.sh
|
|
"""
|
|
}
|
|
|
|
}
|
|
}
|