ci(data-prepper): add retention and archive quality artifacts

This commit is contained in:
jenkins 2026-04-20 10:49:54 -03:00
parent 57306201cf
commit 1d4227beec

View File

@ -47,6 +47,10 @@ spec:
string(name: 'IMAGE_TAG', defaultValue: '2.8.0', description: 'Image tag to publish')
booleanParam(name: 'PUSH_LATEST', defaultValue: true, description: 'Also push the latest tag')
}
options {
disableConcurrentBuilds()
buildDiscarder(logRotator(daysToKeepStr: '30', numToKeepStr: '200', artifactDaysToKeepStr: '30', artifactNumToKeepStr: '120'))
}
stages {
stage('Checkout') {
steps {
@ -318,6 +322,7 @@ platform_quality_gate_test_case_result{suite="${suite}",test="__no_test_cases__"
METRICS
'''
}
archiveArtifacts artifacts: 'build/**/*.json,build/**/*.xml,build/**/*.txt,build/**/*.rc', allowEmptyArchive: true, fingerprint: true
}
}
}