diff --git a/contrib/junit.tpl b/contrib/junit.tpl index 0a2d7ee32341..227cfa9246de 100644 --- a/contrib/junit.tpl +++ b/contrib/junit.tpl @@ -14,8 +14,7 @@ {{- end }} -{{- $failures := len .Misconfigurations }} - + {{- if not (eq .Type "") }} @@ -23,7 +22,9 @@ {{- end -}} {{ range .Misconfigurations }} + {{- if (eq .Status "FAIL") }} {{ escapeXML .Description }} + {{- end }} {{- end }}