ats-zf/Jenkinsfile

17 lines
426 B
Text
Raw Normal View History

2021-08-11 10:55:16 +02:00
node {
stage('Pull git') {
checkout scm
}
stage('Build PDF') {
2021-08-11 11:07:11 +02:00
sh 'pdflatex -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
}
}