Skip to content

Commit

Permalink
Merge pull request #216 from contentstack/fix/slack-notification-envs
Browse files Browse the repository at this point in the history
change envs for slack notification
  • Loading branch information
harshithad0703 authored Nov 19, 2024
2 parents ad05d1f + 39ddce0 commit 6e1847c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sanity-report-dev11.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e1847c

Please sign in to comment.