Use correct filenames

This commit is contained in:
jannisp 2021-08-11 11:10:08 +02:00
parent 5f162223e9
commit c06c8b36da

6
Jenkinsfile vendored
View file

@ -4,14 +4,14 @@ node {
}
stage('Build PDF') {
sh 'pdflatex *.tex'
sh 'pdflatex Mathematik-V-ZF.tex'
}
stage('Archive PDF') {
archiveArtifacts artifacts: '*.pdf', followSymlinks: false
archiveArtifacts artifacts: 'Mathematik-V-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/mathematik-v-zf.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'
}
}