Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
28 lines
720 B
Groovy
28 lines
720 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Build') {
|
|
agent {
|
|
docker {
|
|
image 'kjarosh/latex:2025.1'
|
|
reuseNode true
|
|
}
|
|
}
|
|
steps {
|
|
echo 'Starting build step...'
|
|
sh 'apk install bash -y'
|
|
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'
|
|
}
|
|
}
|
|
}
|
|
}
|