UNCLASSIFIED

Commit cdb64d26 authored by David Freeman's avatar David Freeman
Browse files

capitalize var

parent b650796a
......@@ -3,18 +3,18 @@ set -Eeuo pipefail
mkdir -p "${REPORT_PATH}"
utc_date="$(date --utc '+%F%H%M%S.%3N')"
UTC_DATE="$(date --utc '+%F%H%M%S.%3N')"
python3 "${PIPELINE_REPO_DIR}/stages/report-generation/pipeline_csv_gen.py" \
--anchore-sec "${ARTIFACT_STORAGE}/scan-results/anchore/anchore_security.json" \
--content-dir "${ARTIFACT_STORAGE}/scan-results/anchore/content_reports/" \
--utc-timestamp "${utc_date}" \
--utc-timestamp "${UTC_DATE}" \
--output-dir "${REPORT_PATH}"/
cp "README.md" "${REPORT_PATH}"
tar -czvf "${PLUGIN_NAME}-${utc_date}_plugin_scan_result.tar.gz" -C "${REPORT_PATH}" "${PLUGIN_NAME}-${utc_date}.xlsx" "README.md"
tar -czvf "${PLUGIN_NAME}-${UTC_DATE}_plugin_scan_result.tar.gz" -C "${REPORT_PATH}" "${PLUGIN_NAME}-${UTC_DATE}.xlsx" "README.md"
mv "${PLUGIN_NAME}-${utc_date}_plugin_scan_result.tar.gz" "${REPORT_PATH}/"
mv "${PLUGIN_NAME}-${UTC_DATE}_plugin_scan_result.tar.gz" "${REPORT_PATH}/"
echo "REPORT_DATE=${utc_date}" >>"${REPORT_PATH}/report_generation.env"
echo "REPORT_DATE=${UTC_DATE}" >>"${REPORT_PATH}/report_generation.env"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment