Set correct filenames

This commit is contained in:
jannisp 2021-08-11 11:07:11 +02:00
parent 6f8ec1546e
commit aeb7b1dfe4

6
Jenkinsfile vendored
View file

@ -4,14 +4,14 @@ node {
}
stage('Build PDF') {
sh 'pdflatex *.tex'
sh 'pdflatex -jobname=ats-zf main.tex'
}
stage('Archive PDF') {
archiveArtifacts artifacts: '*.pdf', followSymlinks: false
archiveArtifacts artifacts: 'ats-zf.pdf', followSymlinks: false
}
stage('Publish PDF') {
sh 'scp -i /root/.ssh/id_rsa *.pdf jannis@192.168.178.45:/var/www/html/download/latex-previews/ats-zf.pdf'
sh 'scp -i /root/.ssh/id_rsa ats-zf.pdf jannis@192.168.178.45:/var/www/html/download/latex-previews/ats-zf.pdf'
}
}