mathematik-v-zf/Jenkinsfile

18 lines
460 B
Text
Raw Normal View History

2021-08-11 10:54:26 +02:00
node {
stage('Pull git') {
checkout scm
}
stage('Build PDF') {
2021-08-29 14:34:37 +02:00
sh 'mklatex -c -xelatex Mathematik-V-ZF.tex'
2021-08-11 10:54:26 +02:00
}
stage('Archive PDF') {
2021-08-11 11:10:08 +02:00
archiveArtifacts artifacts: 'Mathematik-V-ZF.pdf', followSymlinks: false
2021-08-11 10:54:26 +02:00
}
stage('Publish PDF') {
2021-08-23 15:00:58 +02:00
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'
2021-08-11 10:54:26 +02:00
}
2021-08-23 15:00:58 +02:00
}