lsd-zf/Jenkinsfile
2023-02-02 18:36:55 +01:00

19 lines
No EOL
385 B
Groovy

node {
stage('Pull git') {
checkout scm
}
stage('Build PDF') {
sh 'latexmk -xelatex -jobname=lsd-zf main.tex'
}
stage('Archive PDF') {
archiveArtifacts artifacts: 'lsd-zf.pdf', followSymlinks: false
}
stage('Publish PDF') {
cp 'lsd-zf.pdf /mnt/latex-previews/lsd-zf.pdf'
}
cleanWs notFailBuild: true
}