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:
parent
fefe6290e5
commit
8fdaad4018
1 changed files with 0 additions and 10 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue