Some checks reported errors
gitea/real_analysis/pipeline/head Something is wrong with the build of this commit
22 lines
571 B
Groovy
22 lines
571 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Build') {
|
|
agent { dockerfile true }
|
|
steps {
|
|
echo 'Starting build step...'
|
|
sh 'latexmk -pdf -outdir=out 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'
|
|
}
|
|
}
|
|
}
|
|
}
|