From 047be9968894cbcab05b5da8f0c4c23b95b1bf98 Mon Sep 17 00:00:00 2001 From: Andriy Dzikh Date: Fri, 23 Jul 2021 14:35:42 -0700 Subject: [PATCH] Add ROOT_JOB_ID to gopogh details. --- hack/jenkins/common.ps1 | 2 +- hack/jenkins/common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/jenkins/common.ps1 b/hack/jenkins/common.ps1 index 1dacb5ab31..ca2e41914f 100644 --- a/hack/jenkins/common.ps1 +++ b/hack/jenkins/common.ps1 @@ -50,7 +50,7 @@ $elapsed=$ended-$started $elapsed=$elapsed/60 $elapsed=[math]::Round($elapsed, 2) -$gopogh_status=gopogh --in testout.json --out_html testout.html --out_summary testout_summary.json --name "$env:JOB_NAME" -pr $env:MINIKUBE_LOCATION --repo github.com/kubernetes/minikube/ --details "$env:COMMIT:$(Get-Date -Format "yyyy-MM-dd")" +$gopogh_status=gopogh --in testout.json --out_html testout.html --out_summary testout_summary.json --name "$env:JOB_NAME" -pr $env:MINIKUBE_LOCATION --repo github.com/kubernetes/minikube/ --details "$env:COMMIT:$(Get-Date -Format "yyyy-MM-dd"):$env:ROOT_JOB_ID" $failures=echo $gopogh_status | jq '.NumberOfFail' $tests=echo $gopogh_status | jq '.NumberOfTests' diff --git a/hack/jenkins/common.sh b/hack/jenkins/common.sh index 3d20b31048..3a6723f516 100755 --- a/hack/jenkins/common.sh +++ b/hack/jenkins/common.sh @@ -419,7 +419,7 @@ fi touch "${HTML_OUT}" touch "${SUMMARY_OUT}" -gopogh_status=$(gopogh -in "${JSON_OUT}" -out_html "${HTML_OUT}" -out_summary "${SUMMARY_OUT}" -name "${JOB_NAME}" -pr "${MINIKUBE_LOCATION}" -repo github.com/kubernetes/minikube/ -details "${COMMIT}:$(date +%Y-%m-%d)") || true +gopogh_status=$(gopogh -in "${JSON_OUT}" -out_html "${HTML_OUT}" -out_summary "${SUMMARY_OUT}" -name "${JOB_NAME}" -pr "${MINIKUBE_LOCATION}" -repo github.com/kubernetes/minikube/ -details "${COMMIT}:$(date +%Y-%m-%d):${ROOT_JOB_ID}") || true fail_num=$(echo $gopogh_status | jq '.NumberOfFail') test_num=$(echo $gopogh_status | jq '.NumberOfTests') pessimistic_status="${fail_num} / ${test_num} failures"