ci(metis): fix testing cwd in quality stage
This commit is contained in:
parent
08d3ec0304
commit
de63b89ed5
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -209,12 +209,13 @@ PY
|
||||
export GOPROXY="${GOPROXY:-https://proxy.golang.org,direct}"
|
||||
run_with_retry 3 go install github.com/jstemmer/go-junit-report/v2@latest
|
||||
run_with_retry 4 go mod download
|
||||
cd "${WORKSPACE}"
|
||||
docs_rc=1
|
||||
quality_rc=1
|
||||
test_rc=1
|
||||
|
||||
set +e
|
||||
cd testing
|
||||
cd "${WORKSPACE}/testing"
|
||||
METIS_USE_EXISTING_COVERAGE=1 go test -v -run TestExportedDocs ./...
|
||||
docs_rc=$?
|
||||
printf '%s\n' "${docs_rc}" > "${WORKSPACE}/build/docs-naming.rc"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user