mathematik-v-zf/Jenkinsfile

17 lines
390 B
Text
Raw Normal View History

2021-08-11 10:54:26 +02:00
node {
stage('Pull git') {
checkout scm
}
stage('Build PDF') {
sh 'pdflatex *.tex'
}
stage('Archive PDF') {
archiveArtifacts artifacts: '*.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'
}
}