Add dedicated clenup and remove -c option
This commit is contained in:
parent
136a9ff0ff
commit
19a3546288
1 changed files with 2 additions and 1 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -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
|
||||||
}
|
}
|
Loading…
Reference in a new issue