Skip to content

Commit

Permalink
ci: save code coverage results
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Bandeira <[email protected]>
  • Loading branch information
Vitor Bandeira committed Nov 21, 2024
1 parent 7c8114b commit 42a1fb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jenkins/Jenkinsfile.coverage
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ timeout(time: 2, unit: 'HOURS') {
}
}

stage('Save Artifacts') {
sh label: "Save code coverage results", script: "find . -name results -type d -exec tar zcvf code-coverage.tgz {} '+'";
archiveArtifacts artifacts: "code-coverage.tgz";
}

stage('Send Email Report') {
sendEmail();
}
Expand Down

0 comments on commit 42a1fb0

Please sign in to comment.