Skip to content

Commit

Permalink
Changed pdf report zip file name for cypress (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
roicarrera authored Dec 17, 2024
1 parent 0746e47 commit a6437e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- Added new function to cypress to log into applications using MFA ([#1070](https://github.com/opendevstack/ods-quickstarters/pull/1070))
- Removal of deprecated versions ([#1068](https://github.com/opendevstack/ods-quickstarters/issues/1068))
- Generate PDF report for cypress and improved environment management ([#1079](https://github.com/opendevstack/ods-quickstarters/pull/1079))
- Change PDF report zip file name in Cypress Quickstarter ([#1082](https://github.com/opendevstack/ods-quickstarters/pull/1082))

### Added

Expand Down
8 changes: 4 additions & 4 deletions e2e-cypress/Jenkinsfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ odsComponentPipeline(
]
)
}
if (fileExists('cypress/pdf.zip')) {
if (fileExists('cypress/cypress-test-reports-pdf.zip')) {
odsComponentStageUploadToNexus(context,
[
distributionFile: 'cypress/pdf.zip',
distributionFile: 'cypress/cypress-test-reports-pdf.zip',
repository: 'leva-documentation',
repositoryType: 'raw',
targetDirectory: "${targetDirectory}"
Expand Down Expand Up @@ -121,8 +121,8 @@ def stageTest(def context) {
}

sh 'npm run generate:pdf'
zip zipFile: 'cypress/pdf.zip', archive: false, dir: 'build/test-results/mochawesome/pdf'
archiveArtifacts artifacts: 'cypress/pdf.zip', fingerprint: true
zip zipFile: 'cypress/cypress-test-reports-pdf.zip', archive: false, dir: 'build/test-results/mochawesome/pdf'
archiveArtifacts artifacts: 'cypress/cypress-test-reports-pdf.zip', fingerprint: true

if (fileExists('cypress/videos')) {
zip zipFile: 'cypress/videos.zip', archive: false, dir: 'cypress/videos'
Expand Down

0 comments on commit a6437e1

Please sign in to comment.