added cleanup step at beginning of build to match client example

This commit is contained in:
Charles N Wyble 2024-12-13 14:12:25 -06:00
parent 2bcd2251ce
commit 5f0ed6a354

View File

@ -35,6 +35,15 @@ export ClientSubmissionMarkdownOutputFile="$BUILD_OUTPUT_DIR/client-submit/Charl
export ClientSubmissionPDFOutputFile="$BUILD_OUTPUT_DIR/client-submit/CharlesNWyble-Resume.pdf"
export ClientSubmissionMSWordOutputFile="$BUILD_OUTPUT_DIR/client-submit/CharlesNWyble-Resume.doc"
# Call the build-pipeline-server in the vendored repository to produce output artifacts
# Cleanup previous output artifacts
bash ../../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server-markdown.sh
rm $BUILD_TEMP_DIR/*.yml
rm $BUILD_TEMP_DIR/*.md
rm $BUILD_OUTPUT_DIR/client-submit/*
rm $BUILD_OUTPUT_DIR/job-board/*
rm $BUILD_OUTPUT_DIR/recruiter/*
# Call the build-pipeline-server in the vendored repository to produce updated output artifacts
bash ../../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server-markdown.sh