2021-08-11 10:54:26 +02:00
|
|
|
node {
|
|
|
|
stage('Pull git') {
|
|
|
|
checkout scm
|
|
|
|
}
|
|
|
|
|
|
|
|
stage('Build PDF') {
|
2021-08-23 14:46:22 +02:00
|
|
|
sh 'xelatex Mathematik-V-ZF.tex && 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
|
|
|
}
|