diff --git a/Jenkinsfile b/Jenkinsfile index c185bb9..ac8f2ec 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } } \ No newline at end of file