19 lines
No EOL
385 B
Groovy
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
|
|
} |