From c9754a3049ce05c407d531a860159f2847280871 Mon Sep 17 00:00:00 2001 From: jannisp Date: Mon, 30 Aug 2021 13:40:55 +0200 Subject: [PATCH] Use jobname --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 43bf94b..4dd844a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,14 +4,14 @@ node { } stage('Build PDF') { - sh 'latexmk -c -xelatex Mathematik-V-ZF.tex' + sh 'latexmk -c -xelatex -jobname=mathematik-v-zf Mathematik-V-ZF.tex' } stage('Archive PDF') { - archiveArtifacts artifacts: 'Mathematik-V-ZF.pdf', followSymlinks: false + archiveArtifacts artifacts: 'mathematik-v-zf.pdf', followSymlinks: false } stage('Publish PDF') { - sh 'scp -i /root/.ssh/id_rsa Mathematik-V-ZF.pdf thisfro@192.168.178.45:/opt/containers/apache2/html/download/latex-previews/mathematik-v-zf.pdf' + sh 'scp -i /root/.ssh/id_rsa mathematik-v-zf.pdf thisfro@192.168.178.45:/opt/containers/apache2/html/download/latex-previews/mathematik-v-zf.pdf' } }