Skip to content

Commit 14a854e

Browse files
Merge pull request #422 from contentstack/fix/update-sanity-msg
Update sanity-report-dev11.js
2 parents 5a5a7cc + c6077ad commit 14a854e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.talismanrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ fileignoreconfig:
2929
- filename: lib/contentstackClient.js
3030
checksum: b76ca091caa3a1b2658cd422a2d8ef3ac9996aea0aff3f982d56bb309a3d9fde
3131
- filename: test/unit/ContentstackClient-test.js
32-
checksum: e712b74f37ea15afd2ac095fc2154f8c9f2ffe955659e77651da4a0d7079ec88
33-
version: "1.0"
32+
checksum: 974a4f335aef025b657d139bb290233a69bed1976b947c3c674e97baffe4ce2f
33+
version: "1.0"

sanity-report-dev11.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const fs = require("fs");
44

55
dotenv.config();
66

7-
const user1 = process.env.USER1;
87
const user2 = process.env.USER2;
98
const user3 = process.env.USER3;
109
const user4 = process.env.USER4;
@@ -35,7 +34,7 @@ const goCdServer = process.env.GOCD_SERVER;
3534
const reportUrl = `http://${goCdServer}/go/files/${pipelineName}/${pipelineCounter}/sanity/1/sanity/test-results/mochawesome-report/sanity-report.html`;
3635

3736
let tagUsers =
38-
failedTests > 0 ? `<@${user1}> <@${user2}> <@${user3}> <@${user4}>` : "";
37+
failedTests > 0 ? `<@${user2}> <@${user3}> <@${user4}>` : "";
3938

4039
const slackMessage = {
4140
text: `Dev11, SDK-JS-CMA Sanity\n*Result:* ${resultMessage}. ${durationInMinutes}m ${durationInSeconds}s\n*Failed Tests:* ${failedTests}\n<${reportUrl}|View Report>\n${tagUsers}`,

0 commit comments

Comments
 (0)