ats-zf/Jenkinsfile

17 lines
437 B
Plaintext
Raw Permalink Normal View History

2021-08-11 10:55:16 +02:00
node {
stage('Pull git') {
checkout scm
}
stage('Build PDF') {
sh 'latexmk -c -xelatex -jobname=ats-zf main.tex'
2021-08-11 10:55:16 +02:00
}
stage('Archive PDF') {
2021-08-11 11:07:11 +02:00
archiveArtifacts artifacts: 'ats-zf.pdf', followSymlinks: false
2021-08-11 10:55:16 +02:00
}
stage('Publish PDF') {
2021-08-23 09:34:46 +02:00
sh 'scp -i /root/.ssh/id_rsa ats-zf.pdf thisfro@192.168.178.45:/opt/containers/apache2/html/download/latex-previews/ats-zf.pdf'
2021-08-11 10:55:16 +02:00
}
}