Skip to content

Commit

Permalink
Generate junit reports for all e2e jobs in Prow presubmit (istio#5567)
Browse files Browse the repository at this point in the history
  • Loading branch information
chxchx authored and sebastienvas committed May 16, 2018
1 parent e6b79d3 commit d95d557
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions prow/e2e-suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,16 @@ set -u
# Print commands
set -x

TEST_TARGETS=(e2e_simple e2e_mixer e2e_bookinfo e2e_bookinfo_envoyv2_v1alpha3 e2e_upgrade e2e_dashboard e2e_pilot e2e_pilotv2_v1alpha3)
TEST_TARGETS=(
e2e_simple
e2e_mixer
e2e_bookinfo
e2e_bookinfo_envoyv2_v1alpha3
e2e_upgrade
e2e_dashboard
e2e_pilot
e2e_pilotv2_v1alpha3
)
SINGLE_MODE=false

# Check https://github.com/istio/test-infra/blob/master/boskos/configs.yaml
Expand Down Expand Up @@ -93,7 +102,8 @@ if ${SINGLE_MODE}; then
VALID_TEST=true
time ISTIO_DOCKER_HUB=$HUB \
E2E_ARGS="${E2E_ARGS[@]}" \
make "${SINGLE_TEST}"
JUNIT_E2E_XML="${ARTIFACTS_DIR}/junit.xml" \
make with_junit_report TARGET="${SINGLE_TEST}"
fi
done
if [ "${VALID_TEST}" == "false" ]; then
Expand Down

0 comments on commit d95d557

Please sign in to comment.