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