paper-cutter/{{cookiecutter.paper_repo_name}}/Jenkinsfile
Filip Gralinski 67c788fe69 Init from an internal repo.
Commit d5b6f8e831fc5c933af5ceb1267f51ef6af6c438
2020-11-24 08:33:07 +01:00

67 lines
1.9 KiB
Groovy

pipeline {
agent { label 'tau2013z' }
stages {
stage ('get-autozoil') {
steps {
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') {
steps {
sh """
make clean
make
"""
}
post {
always {
archiveArtifacts artifacts: '{{cookiecutter.paper_id}}.pdf', fingerprint: true
archiveArtifacts artifacts: 'stats.txt', fingerprint: true
plot csvFileName: 'stats.txt',
csvSeries: [[
file: 'stats.txt',
exclusionValues: '',
displayTableFlag: false,
inclusionFlag: 'OFF',
url: '']],
group: 'Plot Group',
title: 'Plot Title',
style: 'line',
exclZero: false,
keepRecords: false,
logarithmic: false,
numBuilds: '',
useDescr: false,
yaxis: '',
yaxisMaximum: '',
yaxisMinimum: ''
}
}
}
stage ('autozoil') {
steps {
sh """
rm -f autozoil.xml
AUTOZOIL_DIR=autozoil make autozoil.xml
"""
}
post {
always {
archiveArtifacts artifacts: 'autozoil.xml', fingerprint: true
junit 'autozoil.xml'
}
}
}
}
}