Now for a test run...
This commit is contained in:
parent
6b672228ad
commit
bee95a2d4a
@ -24,12 +24,12 @@ $MO_PATH $(PipelineClientWorkingDir)/build/BuildTemplate-ClientSubmission.yml >
|
|||||||
|
|
||||||
echo "Creating candidate info sheet..."
|
echo "Creating candidate info sheet..."
|
||||||
|
|
||||||
$MO_PATH $(WorkingDirBase)../Templates/CandidateInfoSheet/CandidateInfoSheet.md > $CandidateInfoSheetMarkdownOutputFile
|
$MO_PATH $PipelineClientWorkingDir/Templates/CandidateInfoSheet/CandidateInfoSheet.md > $CandidateInfoSheetMarkdownOutputFile
|
||||||
|
|
||||||
pandoc \
|
pandoc \
|
||||||
"$CandidateInfoSheetMarkdownOutputFile" \
|
"$CandidateInfoSheetMarkdownOutputFile" \
|
||||||
--template eisvogel \
|
--template eisvogel \
|
||||||
--metadata-file="$(WorkingDirBase)../build-temp/CandidateInfoSheet.yml" \
|
--metadata-file="$PipelineClientWorkingDir/build-temp/CandidateInfoSheet.yml" \
|
||||||
--from markdown \
|
--from markdown \
|
||||||
--to=pdf \
|
--to=pdf \
|
||||||
--output $CandidateInfoSheetPDFOutputFIle
|
--output $CandidateInfoSheetPDFOutputFIle
|
||||||
@ -37,8 +37,8 @@ pandoc \
|
|||||||
echo "Combining markdown files into single input file for pandoc..."
|
echo "Combining markdown files into single input file for pandoc..."
|
||||||
|
|
||||||
# Create contact info md file
|
# Create contact info md file
|
||||||
$MO_PATH ../Templates/ContactInfo/ContactInfo-JobBoard.md > $BUILD_TEMP_DIR/ContactInfo-JobBoard.md
|
$MO_PATH $PipelineClientWorkingDir/Templates/ContactInfo/ContactInfo-JobBoard.md > $BUILD_TEMP_DIR/ContactInfo-JobBoard.md
|
||||||
$MO_PATH ../Templates/ContactInfo/ContactInfo-ClientSubmit.md > $BUILD_TEMP_DIR/ContactInfo-ClientSubmit.md
|
$MO_PATH $PipelineClientWorkingDir/Templates/ContactInfo/ContactInfo-ClientSubmit.md > $BUILD_TEMP_DIR/ContactInfo-ClientSubmit.md
|
||||||
|
|
||||||
#Pull in contact info
|
#Pull in contact info
|
||||||
cat $BUILD_TEMP_DIR/ContactInfo-JobBoard.md >> $JobBoardMarkdownOutputFile
|
cat $BUILD_TEMP_DIR/ContactInfo-JobBoard.md >> $JobBoardMarkdownOutputFile
|
||||||
@ -50,10 +50,10 @@ echo " " >> $ClientSubmissionMarkdownOutputFile
|
|||||||
echo "## Career Highlights" >> $JobBoardMarkdownOutputFile
|
echo "## Career Highlights" >> $JobBoardMarkdownOutputFile
|
||||||
echo "## Career Highlights" >> $ClientSubmissionMarkdownOutputFile
|
echo "## Career Highlights" >> $ClientSubmissionMarkdownOutputFile
|
||||||
|
|
||||||
cat ../Templates/SkillsAndProjects/Projects.md >> $JobBoardMarkdownOutputFile
|
cat $PipelineClientWorkingDir/Templates/SkillsAndProjects/Projects.md >> $JobBoardMarkdownOutputFile
|
||||||
echo "\pagebreak" >> $JobBoardMarkdownOutputFile
|
echo "\pagebreak" >> $JobBoardMarkdownOutputFile
|
||||||
|
|
||||||
cat ../Templates/SkillsAndProjects/Projects.md >> $ClientSubmissionMarkdownOutputFile
|
cat $PipelineClientWorkingDir/Templates/SkillsAndProjects/Projects.md >> $ClientSubmissionMarkdownOutputFile
|
||||||
echo "\pagebreak" >> $ClientSubmissionMarkdownOutputFile
|
echo "\pagebreak" >> $ClientSubmissionMarkdownOutputFile
|
||||||
|
|
||||||
echo " " >> $JobBoardMarkdownOutputFile
|
echo " " >> $JobBoardMarkdownOutputFile
|
||||||
@ -74,7 +74,7 @@ echo " " >> $ClientSubmissionMarkdownOutputFile
|
|||||||
|
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
for position in \
|
for position in \
|
||||||
$(cat ../Templates/WorkHistory/WorkHistory.csv); do
|
$(cat $PipelineClientWorkingDir/Templates/WorkHistory/WorkHistory.csv); do
|
||||||
|
|
||||||
COMPANY="$(echo $position|awk -F ',' '{print $1}')"
|
COMPANY="$(echo $position|awk -F ',' '{print $1}')"
|
||||||
TITLE="$(echo $position|awk -F ',' '{print $2}')"
|
TITLE="$(echo $position|awk -F ',' '{print $2}')"
|
||||||
@ -88,10 +88,10 @@ echo "**$COMPANY | $TITLE | $DATEOFEMPLOY**" >> $ClientSubmissionMarkdownOutputF
|
|||||||
echo " " >> "$ClientSubmissionMarkdownOutputFile"
|
echo " " >> "$ClientSubmissionMarkdownOutputFile"
|
||||||
|
|
||||||
echo " " >> "$JobBoardMarkdownOutputFile"
|
echo " " >> "$JobBoardMarkdownOutputFile"
|
||||||
cat ../Templates/JobHistoryDetails/$COMPANY.md >> "$JobBoardMarkdownOutputFile"
|
cat $PipelineClientWorkingDIr/Templates/JobHistoryDetails/$COMPANY.md >> "$JobBoardMarkdownOutputFile"
|
||||||
echo " " >> "$JobBoardMarkdownOutputFile"
|
echo " " >> "$JobBoardMarkdownOutputFile"
|
||||||
|
|
||||||
cat ../Templates/JobHistoryDetails/$COMPANY.md >> "$ClientSubmissionMarkdownOutputFile"
|
cat $PipelineClientWorkingDir/Templates/JobHistoryDetails/$COMPANY.md >> "$ClientSubmissionMarkdownOutputFile"
|
||||||
echo " " >> "$ClientSubmissionMarkdownOutputFile"
|
echo " " >> "$ClientSubmissionMarkdownOutputFile"
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ echo "|---|---|---|" >> $ClientSubmissionMarkdownOutputFile
|
|||||||
#Table rows
|
#Table rows
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
for skill in \
|
for skill in \
|
||||||
$(cat ../Templates/SkillsAndProjects/Skills.csv); do
|
$(cat $PipelineClientWorkingDir/Templates/SkillsAndProjects/Skills.csv); do
|
||||||
SKILL_NAME="$(echo $skill|awk -F '|' '{print $1}')"
|
SKILL_NAME="$(echo $skill|awk -F '|' '{print $1}')"
|
||||||
SKILL_YEARS="$(echo $skill|awk -F '|' '{print $2}')"
|
SKILL_YEARS="$(echo $skill|awk -F '|' '{print $2}')"
|
||||||
SKILL_DETAIL="$(echo $skill|awk -F '|' '{print $3}')"
|
SKILL_DETAIL="$(echo $skill|awk -F '|' '{print $3}')"
|
||||||
@ -132,7 +132,7 @@ echo "Generating PDF output for job board version..."
|
|||||||
pandoc \
|
pandoc \
|
||||||
"$JobBoardMarkdownOutputFile" \
|
"$JobBoardMarkdownOutputFile" \
|
||||||
--template eisvogel \
|
--template eisvogel \
|
||||||
--metadata-file="../build-temp/JobBoard.yml" \
|
--metadata-file="$PipelineClientWorkingDir/build-temp/JobBoard.yml" \
|
||||||
--from markdown \
|
--from markdown \
|
||||||
--to=pdf \
|
--to=pdf \
|
||||||
--output $JobBoardPDFOutputFile
|
--output $JobBoardPDFOutputFile
|
||||||
@ -141,7 +141,7 @@ echo "Generating MSWord output for job board version..."
|
|||||||
|
|
||||||
pandoc \
|
pandoc \
|
||||||
"$JobBoardMarkdownOutputFile" \
|
"$JobBoardMarkdownOutputFile" \
|
||||||
--metadata-file="../build-temp/JobBoard.yml" \
|
--metadata-file="$PipelineClientWorkingDir/build-temp/JobBoard.yml" \
|
||||||
--from markdown \
|
--from markdown \
|
||||||
--to=docx \
|
--to=docx \
|
||||||
--reference-doc=resume-docx-reference.docx \
|
--reference-doc=resume-docx-reference.docx \
|
||||||
@ -152,7 +152,7 @@ echo "Generating PDF output for client submission version..."
|
|||||||
pandoc \
|
pandoc \
|
||||||
"$ClientSubmissionMarkdownOutputFile" \
|
"$ClientSubmissionMarkdownOutputFile" \
|
||||||
--template eisvogel \
|
--template eisvogel \
|
||||||
--metadata-file="../build-temp/ClientSubmission.yml" \
|
--metadata-file="$PipelineClientWorkingDir/build-temp/ClientSubmission.yml" \
|
||||||
--from markdown \
|
--from markdown \
|
||||||
--to=pdf \
|
--to=pdf \
|
||||||
--output $ClientSubmissionPDFOutputFile
|
--output $ClientSubmissionPDFOutputFile
|
||||||
@ -161,7 +161,7 @@ echo "Generating MSWord output for client submission version..."
|
|||||||
|
|
||||||
pandoc \
|
pandoc \
|
||||||
"$ClientSubmissionMarkdownOutputFile" \
|
"$ClientSubmissionMarkdownOutputFile" \
|
||||||
--metadata-file="../build-temp/ClientSubmission.yml" \
|
--metadata-file="$PipelineClientWorkingDir/build-temp/ClientSubmission.yml" \
|
||||||
--from markdown \
|
--from markdown \
|
||||||
--to=docx \
|
--to=docx \
|
||||||
--reference-doc=resume-docx-reference.docx \
|
--reference-doc=resume-docx-reference.docx \
|
||||||
|
Loading…
Reference in New Issue
Block a user