cookiecutter-amu-thesis/{{cookiecutter.thesis_type}}-{{cookiecutter.thesis_surname}}/Jenkinsfile
2019-12-02 20:25:31 +01:00

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
"""
}
}
}