Files
real_analysis/Jenkinsfile
Philippe Zwietering 81586f7f19
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
Testing in production, check of repo wel in docker container komt
2025-03-04 11:17:07 +01:00

31 lines
772 B
Groovy

pipeline {
agent any
stages {
stage('Build') {
agent {
docker {
image 'kjarosh/latex:2024.4'
reuseNode true
}
}
steps {
echo 'Starting build step...'
sh 'pwd'
sh 'ls'
sh './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'
}
}
}
}