Files
real_analysis/Jenkinsfile
Philippe Zwietering 85bdd56b1c
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
Met sudo proberen
2025-11-15 15:07:10 +01:00

28 lines
718 B
Groovy

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