Use jobname
This commit is contained in:
parent
699684a1f1
commit
c9754a3049
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -4,14 +4,14 @@ node {
|
|||
}
|
||||
|
||||
stage('Build PDF') {
|
||||
sh 'latexmk -c -xelatex Mathematik-V-ZF.tex'
|
||||
sh 'latexmk -c -xelatex -jobname=mathematik-v-zf Mathematik-V-ZF.tex'
|
||||
}
|
||||
|
||||
stage('Archive PDF') {
|
||||
archiveArtifacts artifacts: 'Mathematik-V-ZF.pdf', followSymlinks: false
|
||||
archiveArtifacts artifacts: 'mathematik-v-zf.pdf', followSymlinks: false
|
||||
}
|
||||
|
||||
stage('Publish PDF') {
|
||||
sh 'scp -i /root/.ssh/id_rsa Mathematik-V-ZF.pdf thisfro@192.168.178.45:/opt/containers/apache2/html/download/latex-previews/mathematik-v-zf.pdf'
|
||||
sh 'scp -i /root/.ssh/id_rsa mathematik-v-zf.pdf thisfro@192.168.178.45:/opt/containers/apache2/html/download/latex-previews/mathematik-v-zf.pdf'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue