Update CI

This commit is contained in:
Jannis Portmann 2023-02-02 18:13:37 +01:00
parent ad7dcd1ee9
commit de1f6b96c7

6
Jenkinsfile vendored
View file

@ -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'
}
}