|
|
@ -15,11 +15,11 @@ pipeline {
|
|
|
|
steps{
|
|
|
|
steps{
|
|
|
|
script {
|
|
|
|
script {
|
|
|
|
docker.image('aergus/latex').inside {
|
|
|
|
docker.image('aergus/latex').inside {
|
|
|
|
sh 'rm paper_eng.pdf'
|
|
|
|
sh 'rm paper_eng_short.pdf'
|
|
|
|
sh 'latexmk -pdf paper_eng.tex'
|
|
|
|
sh 'latexmk -pdf paper_eng_short.tex'
|
|
|
|
sh 'git add -f paper_eng.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_eng.pdf', allowEmptyArchive: false, fingerprint: true, onlyIfSuccessful: true
|
|
|
|
archiveArtifacts artifacts: 'paper_eng_short.pdf', allowEmptyArchive: false, fingerprint: true, onlyIfSuccessful: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|