From a6437e1b4855e602ba7a5425ef544d0084e7ac04 Mon Sep 17 00:00:00 2001 From: roicarrera <120183761+roicarrera@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:43:27 +0100 Subject: [PATCH] Changed pdf report zip file name for cypress (#1082) --- CHANGELOG.md | 1 + e2e-cypress/Jenkinsfile.template | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) 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'