Update CI
This commit is contained in:
parent
ad7dcd1ee9
commit
de1f6b96c7
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -4,14 +4,14 @@ node {
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build PDF') {
|
stage('Build PDF') {
|
||||||
sh 'latexmk -c -xelatex -jobname=${REPO_NAME} main.tex'
|
sh 'latexmk -c -xelatex -jobname=lsd-zf main.tex'
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Archive PDF') {
|
stage('Archive PDF') {
|
||||||
archiveArtifacts artifacts: '${REPO_NAME}.pdf', followSymlinks: false
|
archiveArtifacts artifacts: 'lsd-zf.pdf', followSymlinks: false
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Publish PDF') {
|
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'
|
cp 'lsd-zf.pdf /mnt/latex-previews/lsd-zf.pdf'
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue