mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-23 03:44:15 +00:00
fix(junit_xml output): Fix XML output integration (#1210)
Co-authored-by: sergargar <sergio@verica.io>
This commit is contained in:
1 parent
89416f37af
commit
05f98fe993
5 files changed
+7
-14
No files matched your search
@@ -84,12 +84,12 @@ execute_check() {
|
||||
fi
|
||||
fi
|
||||
show_check_title ${alternate_name}
|
||||
if is_junit_output_enabled; then
|
||||
if [[ " ${MODE} " =~ "junit-xml" ]]; then
|
||||
prepare_junit_check_output "$1"
|
||||
fi
|
||||
# Execute the check
|
||||
IGNORES="${ignores}" CHECK_NAME="$1" ${alternate_name}
|
||||
if is_junit_output_enabled; then
|
||||
if [[ " ${MODE} " =~ "junit-xml" ]]; then
|
||||
finalise_junit_check_output "$1"
|
||||
fi
|
||||
|
||||
@@ -108,13 +108,13 @@ execute_check() {
|
||||
fi
|
||||
fi
|
||||
show_check_title "$1"
|
||||
if is_junit_output_enabled; then
|
||||
if [[ " ${MODE} " =~ "junit-xml" ]]; then
|
||||
prepare_junit_check_output "$1"
|
||||
fi
|
||||
# Execute the check
|
||||
IGNORES="${ignores}" CHECK_NAME="$1" $1
|
||||
|
||||
if is_junit_output_enabled; then
|
||||
if [[ " ${MODE} " =~ "junit-xml" ]]; then
|
||||
finalise_junit_check_output "$1"
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user