From 39ddce039582d32e0ed209debfc021830c19513f Mon Sep 17 00:00:00 2001 From: "harshitha.d" Date: Tue, 19 Nov 2024 10:53:50 +0530 Subject: [PATCH] change envs for slack notification --- sanity-report-dev11.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sanity-report-dev11.js b/sanity-report-dev11.js index eaef6c41..acae2237 100644 --- a/sanity-report-dev11.js +++ b/sanity-report-dev11.js @@ -18,11 +18,11 @@ const resultMessage = ? `:white_check_mark: Success (${passedTests} / ${totalTests} Passed)` : `:x: Failure (${passedTests} / ${totalTests} Passed)`; -const pipelineName = process.env.GOCD_PIPELINE_NAME; -const buildNumber = process.env.GOCD_PIPELINE_LABEL; +const pipelineName = process.env.GO_PIPELINE_NAME; +const pipelineCounter = process.env.GO_PIPELINE_COUNTER; const goCdServer = process.env.GOCD_SERVER; -const reportUrl = `http://${goCdServer}/go/files/${pipelineName}/${buildNumber}/sanity/1/sanity/test-results/mochawesome-report/sanity-report.html`; +const reportUrl = `http://${goCdServer}/go/files/${pipelineName}/${pipelineCounter}/sanity/1/sanity/test-results/mochawesome-report/sanity-report.html`; const slackMessage = { text: `Dev11, CMA SDK Full Sanity