Fix
This commit is contained in:
parent
a7a062390a
commit
a257dcb5d0
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -15,9 +15,9 @@ pipeline {
|
||||
steps{
|
||||
script {
|
||||
docker.image('aergus/latex').inside {
|
||||
sh 'rm paper.pdf'
|
||||
sh 'latexmk -pdf paper.tex'
|
||||
sh 'git add -f paper.pdf'
|
||||
sh 'rm paper_eng.pdf'
|
||||
sh 'latexmk -pdf paper_eng.tex'
|
||||
sh 'git add -f paper_eng.pdf'
|
||||
sh 'git commit -m "add pdf"'
|
||||
sh 'git push origin master'
|
||||
}
|
||||
@ -27,7 +27,7 @@ pipeline {
|
||||
}
|
||||
post {
|
||||
always {
|
||||
archiveArtifacts artifacts: 'paper.pdf', allowEmptyArchive: false, fingerprint: true, onlyIfSuccessful: true
|
||||
archiveArtifacts artifacts: 'paper_eng.pdf', allowEmptyArchive: false, fingerprint: true, onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user