Update jenkins-ci

This commit is contained in:
jannisp 2021-08-23 14:46:22 +02:00
parent c06c8b36da
commit 4fc75cee49

4
Jenkinsfile vendored
View file

@ -4,7 +4,7 @@ node {
} }
stage('Build PDF') { stage('Build PDF') {
sh 'pdflatex Mathematik-V-ZF.tex' sh 'xelatex Mathematik-V-ZF.tex && xelatex Mathematik-V-ZF.tex'
} }
stage('Archive PDF') { stage('Archive PDF') {
@ -12,6 +12,6 @@ node {
} }
stage('Publish PDF') { stage('Publish PDF') {
sh 'scp -i /root/.ssh/id_rsa Mathematik-V-ZF.pdf jannis@192.168.178.45:/var/www/html/download/latex-previews/mathematik-v-zf.pdf' sh 'scp -i /root/.ssh/id_rsa Mathematik-V-ZF.pdf jannis@192.168.178.45:/opt/containers/apache2/html/download/latex-previews/mathematik-v-zf.pdf'
} }
} }