ci: harden jenkins quality gate run and artifact archive
This commit is contained in:
parent
632a1e2824
commit
c5282f4ca4
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -59,6 +59,7 @@ spec:
|
|||||||
set -eu
|
set -eu
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
set +e
|
set +e
|
||||||
|
export GOFLAGS='-buildvcs=false'
|
||||||
ANANKE_QUALITY_METRICS_ENABLED=0 \
|
ANANKE_QUALITY_METRICS_ENABLED=0 \
|
||||||
ANANKE_QUALITY_PUSHGATEWAY_ENABLED=0 \
|
ANANKE_QUALITY_PUSHGATEWAY_ENABLED=0 \
|
||||||
ANANKE_QUALITY_STATE_FILE="$PWD/build/quality-gate.state" \
|
ANANKE_QUALITY_STATE_FILE="$PWD/build/quality-gate.state" \
|
||||||
@ -107,7 +108,7 @@ spec:
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archiveArtifacts artifacts: 'build/**', allowEmptyArchive: true, fingerprint: true
|
archiveArtifacts artifacts: 'build/quality-gate.out,build/quality-gate.rc', allowEmptyArchive: true, fingerprint: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user