Jenkinsfile: remove report bundles creation in unit-validate

This was missing to be removed from Jenkinsfile when we moved
to GHA for unit and integration tests.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit cd54f31984)
This commit is contained in:
CrazyMax 2022-09-08 22:13:32 +02:00
parent fefe6290e5
commit 8fdaad4018
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

10
Jenkinsfile vendored
View file

@ -110,16 +110,6 @@ pipeline {
echo 'Chowning /workspace to jenkins user' echo 'Chowning /workspace to jenkins user'
docker run --rm -v "$WORKSPACE:/workspace" busybox chown -R "$(id -u):$(id -g)" /workspace docker run --rm -v "$WORKSPACE:/workspace" busybox chown -R "$(id -u):$(id -g)" /workspace
''' '''
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE', message: 'Failed to create bundles.tar.gz') {
sh '''
bundleName=unit
echo "Creating ${bundleName}-bundles.tar.gz"
tar -czvf ${bundleName}-bundles.tar.gz bundles/junit-report*.xml bundles/go-test-report*.json bundles/coverage*.out
'''
archiveArtifacts artifacts: '*-bundles.tar.gz', allowEmptyArchive: true
}
} }
cleanup { cleanup {
sh 'make clean' sh 'make clean'