diff --git a/hack/verify-golangci-lint-pr.sh b/hack/verify-golangci-lint-pr.sh index a3491585c28..101cae1dedb 100755 --- a/hack/verify-golangci-lint-pr.sh +++ b/hack/verify-golangci-lint-pr.sh @@ -18,7 +18,6 @@ # golangci-lint. It does nothing when invoked as part of a normal "make # verify". -set -o errexit set -o nounset set -o pipefail @@ -29,9 +28,12 @@ fi KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. +# include shell2junit library +source "${KUBE_ROOT}/third_party/forked/shell2junit/sh2ju.sh" + # TODO (https://github.com/kubernetes/test-infra/issues/17056): # take this additional artifact and convert it to GitHub annotations # to make it easier to see these problems during a PR review. # # -g "${ARTIFACTS}/golangci-lint-githubactions.log" -"${KUBE_ROOT}/hack/verify-golangci-lint.sh" -r "${PULL_BASE_SHA}" -s +juLog -output="${ARTIFACTS:-/tmp/results}" -class="golangci" -name="golangci-strict-pr" -fail="^ERROR: " "${KUBE_ROOT}/hack/verify-golangci-lint.sh" -r "${PULL_BASE_SHA}" -s