Initial commit
This commit is contained in:
commit
92753078b4
6 changed files with 523 additions and 0 deletions
17
Jenkinsfile
vendored
Normal file
17
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
node {
|
||||
stage('Pull git') {
|
||||
checkout scm
|
||||
}
|
||||
|
||||
stage('Build PDF') {
|
||||
sh 'latexmk -c -xelatex -jobname=${REPO_NAME} main.tex'
|
||||
}
|
||||
|
||||
stage('Archive PDF') {
|
||||
archiveArtifacts artifacts: '${REPO_NAME}.pdf', followSymlinks: false
|
||||
}
|
||||
|
||||
stage('Publish PDF') {
|
||||
sh 'scp -i /root/.ssh/id_rsa ${REPO_NAME}.pdf thisfro@192.168.178.45:/opt/containers/apache2/html/download/latex-previews/${REPO_NAME}.pdf'
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue