2023-02-02 17:07:34 +01:00
|
|
|
node {
|
|
|
|
stage('Pull git') {
|
|
|
|
checkout scm
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('Build PDF') {
|
2023-02-06 23:44:30 +01:00
|
|
|
sh 'latexmk -xelatex -jobname=lsd-zf main.tex'
|
2023-02-02 17:07:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
stage('Archive PDF') {
|
2023-02-02 18:13:37 +01:00
|
|
|
archiveArtifacts artifacts: 'lsd-zf.pdf', followSymlinks: false
|
2023-02-02 17:07:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
stage('Publish PDF') {
|
2023-02-02 18:40:05 +01:00
|
|
|
sh 'cp lsd-zf.pdf /mnt/latex-previews/lsd-zf.pdf'
|
2023-02-02 17:07:34 +01:00
|
|
|
}
|
2023-02-02 18:36:55 +01:00
|
|
|
|
|
|
|
cleanWs notFailBuild: true
|
2023-02-02 17:07:34 +01:00
|
|
|
}
|