pipeline { agent any stages { stage('Build') { agent { docker { image 'kjarosh/latex:2025.1' reuseNode true } } steps { echo 'Starting build step...' sh 'latexmk -pdf -outdir=out assignments/main_text.tex' } } // 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 assignments/main_text.pdf /var/www/zwietering.eu/pdfs/real_analysis.pdf' } } } }