2024-12-13 19:20:31 +00:00
|
|
|
#!/usr/bin/env bash
|
2024-12-13 17:57:42 +00:00
|
|
|
|
|
|
|
|
2024-12-13 19:20:31 +00:00
|
|
|
# This is a demo script for the MarkdownResumePipeline server
|
|
|
|
# This script creates PDF/MSWord output from markdown/csv input
|
2024-12-13 17:57:42 +00:00
|
|
|
|
|
|
|
|
2024-12-13 19:20:31 +00:00
|
|
|
############################################
|
|
|
|
#Edit this file to reflect your information
|
|
|
|
############################################
|
2024-12-13 17:57:42 +00:00
|
|
|
|
|
|
|
source "./CandidateVariables.env"
|
|
|
|
|
|
|
|
####################################################
|
|
|
|
####################################################
|
|
|
|
####################################################
|
|
|
|
#DO NOT CHANGE ANYTHING BELOW THIS LINE
|
|
|
|
####################################################
|
|
|
|
####################################################
|
|
|
|
####################################################
|
|
|
|
|
2024-12-13 19:20:31 +00:00
|
|
|
######################################################################################
|
|
|
|
# Setup key variables that will be used by the build-pipeline-server-markdown.sh script
|
|
|
|
######################################################################################
|
2024-12-13 17:57:42 +00:00
|
|
|
|
2024-12-13 19:20:31 +00:00
|
|
|
export BUILD_OUTPUT_DIR="$PipelineClientWorkingDir/build-output/JSONResume"
|
2024-12-13 20:03:47 +00:00
|
|
|
export JSON_TEMPLATE_DIRECTORY="$PipelineClientWorkingDir/Templates/JSONResume"
|
2024-12-13 17:57:42 +00:00
|
|
|
|
2024-12-13 19:20:31 +00:00
|
|
|
export JobBoardJSONOutputFile="$BUILD_OUTPUT_DIR/job-board/Candidate-Resume.json"
|
|
|
|
export ClientSubmissionJSONOutputFile="$BUILD_OUTPUT_DIR/client-submit/Candidate-Resume.json"
|
2024-12-13 17:57:42 +00:00
|
|
|
|
2024-12-13 19:20:31 +00:00
|
|
|
echo "Cleaning up from previous runs..."
|
2024-12-13 17:57:42 +00:00
|
|
|
|
2024-12-13 19:20:31 +00:00
|
|
|
rm $JobBoardJSONOutputFile
|
|
|
|
rm $ClientSubmissionJSONOutputFile
|
2024-12-13 17:57:42 +00:00
|
|
|
|
2024-12-13 19:20:31 +00:00
|
|
|
bash ../../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server-json.sh
|