ci: harden jenkins quality gate run and artifact archive

This commit is contained in:
Brad Stein 2026-04-10 17:16:47 -03:00
parent 632a1e2824
commit c5282f4ca4

3
Jenkinsfile vendored
View File

@ -59,6 +59,7 @@ spec:
set -eu
mkdir -p build
set +e
export GOFLAGS='-buildvcs=false'
ANANKE_QUALITY_METRICS_ENABLED=0 \
ANANKE_QUALITY_PUSHGATEWAY_ENABLED=0 \
ANANKE_QUALITY_STATE_FILE="$PWD/build/quality-gate.state" \
@ -107,7 +108,7 @@ spec:
post {
always {
archiveArtifacts artifacts: 'build/**', allowEmptyArchive: true, fingerprint: true
archiveArtifacts artifacts: 'build/quality-gate.out,build/quality-gate.rc', allowEmptyArchive: true, fingerprint: true
}
}
}