msc-smolak/Jenkinsfile
2020-01-26 19:01:08 +00:00

65 lines
1.8 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 """
bash build.sh
"""
}
post {
always {
archiveArtifacts artifacts: 'smolak.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 """
AUTOZOIL_DIR=autozoil bash check.sh
"""
}
post {
always {
archiveArtifacts artifacts: 'autozoil.xml', fingerprint: true
junit 'autozoil.xml'
}
}
}
}
}