diff --git a/tracker_automations/bulk_precheck_issues/bulk_precheck_issues.sh b/tracker_automations/bulk_precheck_issues/bulk_precheck_issues.sh index e12575a..529c1f1 100755 --- a/tracker_automations/bulk_precheck_issues/bulk_precheck_issues.sh +++ b/tracker_automations/bulk_precheck_issues/bulk_precheck_issues.sh @@ -293,9 +293,10 @@ while read issue; do else echo "[Should these errors be fixed?|https://moodledev.io/general/development/tools/cibot#should-coding-style-issues-in-existing-code-be-fixed]" >> "${resultfile}.${issue}.txt" fi + # Add build timestamp to the bottom of the report echo "" >> "${resultfile}.${issue}.txt" - echo "Built on: $(date -u)" >> "${resultfile}.${issue}.txt" + echo "Built on: $(date -u '+%a %b %e %H:%M:%S %Z %Y')" >> "${resultfile}.${issue}.txt" # Execute the criteria postissue. It will perform the needed changes in the tracker for the current issue if [[ ${quiet} == "false" ]]; then diff --git a/tracker_automations/bulk_prelaunch_jobs/bulk_prelaunch_jobs.sh b/tracker_automations/bulk_prelaunch_jobs/bulk_prelaunch_jobs.sh index 0c40682..ee10266 100755 --- a/tracker_automations/bulk_prelaunch_jobs/bulk_prelaunch_jobs.sh +++ b/tracker_automations/bulk_prelaunch_jobs/bulk_prelaunch_jobs.sh @@ -138,7 +138,9 @@ while read issue; do rm "${resultfile}.jenkinscli" fi done - echo "Built on: $(date -u)" >> "${resultfile}.${issue}.txt" + + # Add build timestamp to the bottom of the report + echo "Built on: $(date -u '+%a %b %e %H:%M:%S %Z %Y')" >> "${resultfile}.${issue}.txt" echo "" # Verify we have processed some branch.