Make it so image doesn't rebuild unless it's missing
Scrap-Web/pipeline/pr-main This commit looks good
Scrap-Web/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2026-12-01 20:26:10 -05:00
parent 8e2fe554d3
commit c9006bb314
Vendored
+1 -1
View File
@@ -116,7 +116,7 @@ pipeline {
stage('Compile manual (LaTeX)') {
steps {
sh '''
docker build -q -t ssw590/manual-latex:1 manual/ci
docker image inspect ssw590/manual-latex:1 >/dev/null 2>&1 || docker build -q -t ssw590/manual-latex:1 manual/ci
cid=$(docker create -w /work ssw590/manual-latex:1 latexmk devopsAssignment.tex)
docker cp manual/. "$cid":/work
if docker start -a "$cid"; then rc=0; else rc=$?; fi