lsd-zf/Jenkinsfile
Jannis Portmann 136a9ff0ff Fix building
2023-02-02 18:26:29 +01:00

18 lines
No EOL
377 B
Groovy

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