You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1008 B
Groovy

pipeline {
environment {
imagename = "aergus/latex"
registryCredential = ''
dockerImage = ''
}
agent any
stages {
stage('Cloning Git') {
steps {
git([url: 'https://git.athene.tech/is.ulstu.ru/iiti-2024.git', branch: 'master', credentialsId: '2'])
}
}
stage('Building pdf') {
steps{
script {
docker.image('aergus/latex').inside {
// sh 'rm paper_eng_short.pdf'
sh 'latexmk -pdf paper_eng_short.tex'
// sh 'git add -f paper_eng.pdf'
// sh 'git commit -m "add pdf"'
// sh 'git push origin master'
}
}
}
}
}
post {
always {
archiveArtifacts artifacts: 'paper_eng_short.pdf', allowEmptyArchive: false, fingerprint: true, onlyIfSuccessful: true
}
}
}