Files
real_analysis/Jenkinsfile
Philippe Zwietering 23c5c26472
All checks were successful
gitea/real_analysis/pipeline/head This commit looks good
Artifacts opslaan
2026-01-22 23:43:59 +01:00

28 lines
657 B
Groovy

pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Starting build step...'
sh 'latexmk -pdf -outdir=out main_text.tex'
archiveArtifacts artifacts: 'out/main_text.pdf'
}
}
// Testing latex isn't really a thing, but we could do basic sanity checks in the future?
stage('Deploy') {
steps{
echo 'Starting deploy step...'
sh 'cp out/main_text.pdf /var/www/zwietering.eu/pdfs/real_analysis.pdf'
}
}
}
post {
cleanup {
cleanWs()
}
}
}