diff --git a/CHANGELOG.md b/CHANGELOG.md index 57d5153b..0ae8848a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/e2e-cypress/Jenkinsfile.template b/e2e-cypress/Jenkinsfile.template index 2932b9e1..0df3bbf0 100644 --- a/e2e-cypress/Jenkinsfile.template +++ b/e2e-cypress/Jenkinsfile.template @@ -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}" @@ -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'