msc-patryk-bartkowiak/Jenkinsfile

53 lines
1023 B
Plaintext
Raw Permalink Normal View History

2024-05-11 18:37:27 +02:00
pipeline {
agent {
docker {
image 'loxygen/autozoil'
}
}
stages {
stage ('build-pdf') {
steps {
withEnv(["HOME=${env.WORKSPACE}"]) {
sh """
make clean
make
"""
}}
post {
always {
archiveArtifacts artifacts: 'msc-patryk-bartkowiak.pdf', fingerprint: true
archiveArtifacts artifacts: 'stats.txt', fingerprint: true
}
}
}
stage ('autozoil') {
steps {
withEnv(["HOME=${env.WORKSPACE}"]) {
sh """
rm -f autozoil.xml
make autozoil
"""
}}
post {
always {
archiveArtifacts artifacts: 'autozoil*.xml', fingerprint: true
junit testResults: 'autozoil-external-check.xml', skipPublishingChecks: true
// junit testResults: 'autozoil.xml'
}
}
}
}
}