From aeb7b1dfe40657495bd401d5e9f1328a5aab765a Mon Sep 17 00:00:00 2001 From: jannisp Date: Wed, 11 Aug 2021 11:07:11 +0200 Subject: [PATCH] Set correct filenames --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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