diff --git a/Jenkinsfile b/Jenkinsfile index 46564cd..438f168 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,14 +4,14 @@ node { } stage('Build PDF') { - sh 'latexmk -c -xelatex -jobname=${REPO_NAME} main.tex' + sh 'latexmk -c -xelatex -jobname=lsd-zf main.tex' } stage('Archive PDF') { - archiveArtifacts artifacts: '${REPO_NAME}.pdf', followSymlinks: false + archiveArtifacts artifacts: 'lsd-zf.pdf', followSymlinks: false } stage('Publish PDF') { - sh 'scp -i /root/.ssh/id_rsa ${REPO_NAME}.pdf thisfro@192.168.178.45:/opt/containers/apache2/html/download/latex-previews/${REPO_NAME}.pdf' + cp 'lsd-zf.pdf /mnt/latex-previews/lsd-zf.pdf' } } \ No newline at end of file