master
Anton Romanov 2 months ago
parent a7a062390a
commit a257dcb5d0

8
Jenkinsfile vendored

@ -15,9 +15,9 @@ pipeline {
steps{ steps{
script { script {
docker.image('aergus/latex').inside { docker.image('aergus/latex').inside {
sh 'rm paper.pdf' sh 'rm paper_eng.pdf'
sh 'latexmk -pdf paper.tex' sh 'latexmk -pdf paper_eng.tex'
sh 'git add -f paper.pdf' sh 'git add -f paper_eng.pdf'
sh 'git commit -m "add pdf"' sh 'git commit -m "add pdf"'
sh 'git push origin master' sh 'git push origin master'
} }
@ -27,7 +27,7 @@ pipeline {
} }
post { post {
always { always {
archiveArtifacts artifacts: 'paper.pdf', allowEmptyArchive: false, fingerprint: true, onlyIfSuccessful: true archiveArtifacts artifacts: 'paper_eng.pdf', allowEmptyArchive: false, fingerprint: true, onlyIfSuccessful: true
} }
} }
} }
Loading…
Cancel
Save