Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[coverage] fix jest report merging #89537

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
do not zip+upload jest twice
  • Loading branch information
dmlemeshko committed Jan 28, 2021
commit 71b7b0f6b8491b82210ef0c39d1d3bf9e3faa841
6 changes: 3 additions & 3 deletions vars/kibanaCoverage.groovy
Original file line number Diff line number Diff line change
@@ -150,8 +150,8 @@ def generateReports(title) {
. src/dev/code_coverage/shell_scripts/fix_html_reports_parallel.sh
. src/dev/code_coverage/shell_scripts/merge_functional.sh
. src/dev/code_coverage/shell_scripts/copy_jest_report.sh
# zip combined reports
tar -czf kibana-coverage.tar.gz target/kibana-coverage/**/*
# zip functional combined report
tar -czf kibana-functional-coverage.tar.gz target/kibana-coverage/functional/*
""", title)
}

@@ -163,7 +163,7 @@ def uploadCombinedReports() {

kibanaPipeline.uploadGcsArtifact(
"kibana-ci-artifacts/jobs/${env.JOB_NAME}/${BUILD_NUMBER}/coverage/combined",
'kibana-coverage.tar.gz'
'kibana-functional-coverage.tar.gz'
)
}