ci(metis): retry junit reporter install
This commit is contained in:
parent
5d05bb1ace
commit
34cd874a5a
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -188,7 +188,6 @@ PY
|
|||||||
apt-get update >/dev/null
|
apt-get update >/dev/null
|
||||||
apt-get install -y --no-install-recommends xz-utils >/dev/null
|
apt-get install -y --no-install-recommends xz-utils >/dev/null
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
go install github.com/jstemmer/go-junit-report/v2@latest
|
|
||||||
export GOPROXY="${GOPROXY:-https://proxy.golang.org,direct}"
|
export GOPROXY="${GOPROXY:-https://proxy.golang.org,direct}"
|
||||||
retry_command() {
|
retry_command() {
|
||||||
attempts=4
|
attempts=4
|
||||||
@ -209,6 +208,7 @@ PY
|
|||||||
attempt=$((attempt + 1))
|
attempt=$((attempt + 1))
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
retry_command go install github.com/jstemmer/go-junit-report/v2@latest
|
||||||
cd "${WORKSPACE}"
|
cd "${WORKSPACE}"
|
||||||
docs_rc=1
|
docs_rc=1
|
||||||
quality_rc=1
|
quality_rc=1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user