Set correct filenames
This commit is contained in:
parent
6f8ec1546e
commit
aeb7b1dfe4
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 'pdflatex *.tex'
|
sh 'pdflatex -jobname=ats-zf main.tex'
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Archive PDF') {
|
stage('Archive PDF') {
|
||||||
archiveArtifacts artifacts: '*.pdf', followSymlinks: false
|
archiveArtifacts artifacts: 'ats-zf.pdf', followSymlinks: false
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Publish PDF') {
|
stage('Publish PDF') {
|
||||||
sh 'scp -i /root/.ssh/id_rsa *.pdf jannis@192.168.178.45:/var/www/html/download/latex-previews/ats-zf.pdf'
|
sh 'scp -i /root/.ssh/id_rsa ats-zf.pdf jannis@192.168.178.45:/var/www/html/download/latex-previews/ats-zf.pdf'
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue