Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LPTOCPCI-1037] Add new options for verbose failure reporting to firewatch #46643

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,10 @@ if [ "${FIREWATCH_FAIL_WITH_TEST_FAILURES,,}" = "true" ]; then
report_command+=" --fail-with-test-failures"
fi

# If the user has specified verbose test failure reporting
if [ "${FIREWATCH_VERBOSE_TEST_FAILURE_REPORTING,,}" = "true" ]; then
report_command+=" --verbose-test-failure-reporting"
report_command+=" --verbose-test-failure-reporting-ticket-limit ${FIREWATCH_VERBOSE_TEST_FAILURE_REPORTING_LIMIT}"
fi

eval "$report_command"
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ ref:
- name: FIREWATCH_DEFAULT_JIRA_SECURITY_LEVEL
default: ""
documentation: The default value for the security level of issues where the "jira_security_level" value is set to "!default".
- name: FIREWATCH_VERBOSE_TEST_FAILURE_REPORTING
default: "false"
documentation: A variable that will determine if firewatch will report on every test failure in all JUnit files (up to the limit defined in $FIREWATCH_VERBOSE_TEST_FAILURE_REPORTING_LIMIT).
- name: FIREWATCH_VERBOSE_TEST_FAILURE_REPORTING_LIMIT
default: "10"
documentation: The maximum number of test failures to report on when FIREWATCH_VERBOSE_TEST_FAILURE_REPORTING is set to "true".

documentation: |-
Please see the CSPI-QE repository for more documentation on this tool: https://github.com/CSPI-QE/firewatch