Skip to content

Commit e86b9e6

Browse files
committed
fix(ci): add slack notification to CI pipeline
1 parent 06c97f2 commit e86b9e6

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Jenkinsfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,12 @@ pipeline {
279279
}
280280
post {
281281
always {
282-
notifySlack(currentBuild.currentResult, currentBuild.durationString);
282+
script {
283+
// CLI has no deployment image / security-scan reports, so pass an empty list
284+
// (same path codepush uses when no report file exists). Produces the standard
285+
// build-summary Slack notification used across the other projects.
286+
sendBuildSummaryToSlack(currentBuild.currentResult, currentBuild.durationString, [])
287+
}
283288
}
284289
}
285290
}

0 commit comments

Comments
 (0)