Compare commits

...

11 Commits

Author SHA1 Message Date
23c5c26472 Artifacts opslaan
All checks were successful
gitea/real_analysis/pipeline/head This commit looks good
2026-01-22 23:43:59 +01:00
b27c0d1872 Geen sudo meer nodig
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
2026-01-22 23:41:42 +01:00
b92d0a5a97 Smerige sudo
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
2026-01-22 23:35:56 +01:00
7fbca3031a Poging om jenkins uit het slop te trekken
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
2026-01-22 23:33:21 +01:00
12ba818631 Fix on template
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
2025-11-21 10:15:10 +01:00
bc10cf8736 https ipv ssh voor de buildserver
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
2025-11-16 00:50:32 +01:00
83c9218b81 Vieze workspace
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
2025-11-16 00:45:26 +01:00
a7ec28cf5c Overbodig build script nu
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
2025-11-16 00:37:06 +01:00
9ea1970fcf Fixed submodule 2025-11-16 00:36:47 +01:00
adcf470b30 Fix voor template, hopelijk nu werkend op buildsetup
Some checks failed
gitea/real_analysis/pipeline/head There was a failure building this commit
2025-11-16 00:31:46 +01:00
108ef1755a Revert "Poging met een dockerfile"
This reverts commit d2b0965281.
2025-11-15 20:59:52 +01:00
5 changed files with 12 additions and 41 deletions

View File

@@ -1,2 +0,0 @@
FROM kjarosh/latex:2025.1
RUN tlmgr install libertinus

10
Jenkinsfile vendored
View File

@@ -2,10 +2,11 @@ pipeline {
agent any agent any
stages { stages {
stage('Build') { stage('Build') {
agent { dockerfile true }
steps { steps {
echo 'Starting build step...' echo 'Starting build step...'
sh 'latexmk -pdf -outdir=out main_text.tex' sh 'latexmk -pdf -outdir=out main_text.tex'
archiveArtifacts artifacts: 'out/main_text.pdf'
} }
} }
@@ -14,8 +15,13 @@ pipeline {
stage('Deploy') { stage('Deploy') {
steps{ steps{
echo 'Starting deploy step...' echo 'Starting deploy step...'
sh 'cp assignments/main_text.pdf /var/www/zwietering.eu/pdfs/real_analysis.pdf' sh 'cp out/main_text.pdf /var/www/zwietering.eu/pdfs/real_analysis.pdf'
} }
} }
} }
post {
cleanup {
cleanWs()
}
}
} }

View File

@@ -12,9 +12,9 @@
\maketitle \maketitle
\tableofcontents \tableofcontents
\clearpage \clearpage
\subfile{src/week1.tex} \subfile{./src/week1.tex}
\clearpage \clearpage
\subfile{src/week2.tex} \subfile{./src/week2.tex}
\clearpage \clearpage
\subfile{src/week3.tex} \subfile{./src/week3.tex}
\end{document} \end{document}

View File

@@ -1,33 +0,0 @@
#!/bin/bash
# Build all directories
subdirectory_file_name=main
cd assignments
for D in *; do
if [ "${D}" != "template" ] && [ -d "${D}" ]; then
echo "Building ${D}..."
cd "${D}"
pdflatex -interaction=batchmode -halt-on-error "${subdirectory_file_name}.tex"
pdflatex -interaction=batchmode -halt-on-error "${subdirectory_file_name}.tex"
cd ..
fi
done
# Build main PDF
main_file_name=main_text
echo "Building main PDF..."
pdflatex -interaction=batchmode -halt-on-error "${main_file_name}.tex"
pdflatex -interaction=batchmode -halt-on-error "${main_file_name}.tex"
# Clean up
rm -rf *.aux *.log *.out *.toc
for D in *; do
if [ "${D}" != "template" ] && [ -d "${D}" ]; then
cd "${D}"
rm -rf *.aux *.log *.out *.toc
cd ..
fi
done