lsd-zf/Jenkinsfile
Jannis Portmann de1f6b96c7 Update CI
2023-02-02 18:17:16 +01:00

17 lines
No EOL
356 B
Groovy

node {
stage('Pull git') {
checkout scm
}
stage('Build PDF') {
sh 'latexmk -c -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'
}
}