Added logging

This commit is contained in:
Chase King 2025-03-05 09:35:13 -05:00
parent 9d6f582be6
commit e59efb543a

View file

@ -160,6 +160,7 @@ stages:
# TODO: Update to include test status message later # TODO: Update to include test status message later
echo \"Contents of ortoni-report:\" && ls ./ortoni-report && echo \"Contents of ortoni-report:\" && ls ./ortoni-report &&
branch_name=$(git rev-parse --abbrev-ref HEAD) # Had to do it this way because Build.SourceBranchName is always 'merge' on PR branch_name=$(git rev-parse --abbrev-ref HEAD) # Had to do it this way because Build.SourceBranchName is always 'merge' on PR
echo \"Retrieved branch name: '$branch_name'\"
jira_card_number=\"${branch_name##*/}\" # Grab everything after last '/' jira_card_number=\"${branch_name##*/}\" # Grab everything after last '/'
echo \"Writing report to Jira card '$jira_card_number'...\" && echo \"Writing report to Jira card '$jira_card_number'...\" &&
./devops/scripts/jira_writeback.sh add_comment \"$jira_card_number\" /app/ortoni-report/ortoni-report.html \"AUTOMATED TEST RUN: $(date)\" ") ./devops/scripts/jira_writeback.sh add_comment \"$jira_card_number\" /app/ortoni-report/ortoni-report.html \"AUTOMATED TEST RUN: $(date)\" ")