Add dedicated clenup and remove -c option

This commit is contained in:
Jannis Portmann 2023-02-02 18:36:55 +01:00
parent 136a9ff0ff
commit 19a3546288

3
Jenkinsfile vendored
View file

@ -5,7 +5,6 @@ node {
stage('Build PDF') { stage('Build PDF') {
sh 'latexmk -xelatex -jobname=lsd-zf main.tex' sh 'latexmk -xelatex -jobname=lsd-zf main.tex'
sh 'latexmk -c'
} }
stage('Archive PDF') { stage('Archive PDF') {
@ -15,4 +14,6 @@ node {
stage('Publish PDF') { stage('Publish PDF') {
cp 'lsd-zf.pdf /mnt/latex-previews/lsd-zf.pdf' cp 'lsd-zf.pdf /mnt/latex-previews/lsd-zf.pdf'
} }
cleanWs notFailBuild: true
} }