Skip to content

Commit 999e2e0

Browse files
authored
Merge pull request kubernetes#73581 from krzysied/test_KUBE_JUNIT_REPORT_DIR_revert
KUBE_JUNIT_REPORT_DIR fixes
2 parents 836ce9f + c20262e commit 999e2e0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

hack/jenkins/benchmark-dockerized.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,14 @@ retry() {
3434
export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
3535

3636
go install k8s.io/kubernetes/vendor/github.com/cespare/prettybench
37+
go install k8s.io/kubernetes/vendor/github.com/jstemmer/go-junit-report
3738

3839
# Disable the Go race detector.
3940
export KUBE_RACE=" "
4041
# Disable coverage report
4142
export KUBE_COVER="n"
4243
export ARTIFACTS=${ARTIFACTS:-"${WORKSPACE}/artifacts"}
44+
export FULL_LOG="true"
4345

4446
mkdir -p "${ARTIFACTS}"
4547
cd /go/src/k8s.io/kubernetes

hack/make-rules/test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ if [[ -n "${KUBE_JUNIT_REPORT_DIR}" ]] ; then
188188
go_test_grep_pattern="^[^[:space:]]\+[[:space:]]\+[^[:space:]]\+/[^[[:space:]]\+"
189189
fi
190190

191+
if [[ -n "${FULL_LOG:-}" ]] ; then
192+
go_test_grep_pattern=".*"
193+
fi
194+
191195
# Filter out arguments that start with "-" and move them to goflags.
192196
testcases=()
193197
for arg; do

0 commit comments

Comments
 (0)