NOTIFY_TEMPLATES
constNOTIFY_TEMPLATES:object
Defined in: packages/simply-cicd-core/src/notify/templates.ts:18
Teams notification card templates, keyed the same as the original .hbs file names.
Type Declaration
Section titled “Type Declaration”build-failure-notification
Section titled “build-failure-notification”
readonlybuild-failure-notification: “<table>\n <tr><th colspan=“3” style=“color: white; background-color: darkred;”>{{projectTitle}}: Failed Build</th></tr>\n <tr><th colspan=“3” style=“color: white; background-color: grey;“>Job: {{jobName}} (Stage:\n {{stage}})</th></tr>\n <tr><td>Branch</td><td colspan=“2”>Pipeline</td></tr>\n <tr><td>{{refName}}</td><td colspan=“2”><a\n href=“{{pipelineUrl}}“\n >{{pipelineId}}</a></td></tr>\n</table>\n”
build-package-version-notification
Section titled “build-package-version-notification”
readonlybuild-package-version-notification: “<table>\n <tr><th colspan=“3” style=“color: white; background-color: darkgreen;”>{{projectTitle}}: Package Version\n Created</th></tr>\n <tr><td>Version</td><td>Branch</td><td>Pipeline</td></tr>\n <tr><td>{{packageVersion}}<br />{{subscriberPackageVersionId}}</td><td>{{refName}}</td><td><a\n href=“{{pipelineUrl}}“\n >{{pipelineId}}</a></td></tr>\n <tr><td colspan=“3”>Stories since {{packageVersionPrevious}}</td></tr>\n <tr><td colspan=“3”>{{{storiesLinked}}}</td></tr>\n</table>\n”
happy-soup-failure-notification
Section titled “happy-soup-failure-notification”
readonlyhappy-soup-failure-notification: “<table>\n <tr><th colspan=“3” style=“color: white; background-color: darkred;“>Failed Stage:\n {{stage}}</th></tr>\n <tr><td>Environment</td><td>Branch</td><td>Pipeline</td></tr>\n <tr><td>{{environmentName}}</td><td>{{refName}}</td><td><a\n href=“{{pipelineUrl}}“\n >{{pipelineId}}</a></td></tr>\n</table>\n”
happy-soup-final-failure-notification
Section titled “happy-soup-final-failure-notification”
readonlyhappy-soup-final-failure-notification: “<table>\n <tr><th colspan=“3” style=“color: white; background-color: darkred;“>Happy Soup Deployment Failed</th></tr>\n <tr><td>Environment</td><td>Branch</td><td>Pipeline</td></tr>\n <tr><td>{{environmentName}}</td><td>{{refName}}</td><td><a\n href=“{{pipelineUrl}}“\n >{{pipelineId}}</a></td></tr>\n</table>\n”
happy-soup-final-success-notification
Section titled “happy-soup-final-success-notification”
readonlyhappy-soup-final-success-notification: “<table>\n <tr><th colspan=“3” style=“color: white; background-color: darkgreen;“>Happy Soup Deployment\n Completed</th></tr>\n <tr><td>Environment</td><td>Branch</td><td>Pipeline</td></tr>\n <tr><td>{{environmentName}}</td><td>{{refName}}</td><td><a\n href=“{{pipelineUrl}}“\n >{{pipelineId}}</a></td></tr>\n{{#if upgradedPackages.length}}\n <tr><td colspan=“3”>Upgraded Packages</td></tr>\n{{#each upgradedPackages}}\n <tr><td colspan=“1”>{{packageName}}</td><td colspan=“2”>{{{storiesLinked}}}</td></tr>\n{{/each}}\n{{/if}}\n</table>\n”
happy-soup-starting-stage-notification
Section titled “happy-soup-starting-stage-notification”
readonlyhappy-soup-starting-stage-notification: “<table>\n <tr><th colspan=“3” style=“color: white; background-color: #007acc;“>Starting Stage:\n {{stage}}</th></tr>\n <tr><td>Environment</td><td>Branch</td><td>Pipeline</td></tr>\n <tr><td>{{environmentName}}</td><td>{{refName}}</td><td><a\n href=“{{pipelineUrl}}“\n >{{pipelineId}}</a></td></tr>\n</table>\n”
happy-soup-success-notification
Section titled “happy-soup-success-notification”
readonlyhappy-soup-success-notification: “<table>\n <tr><th colspan=“3” style=“color: white; background-color: darkgreen;“>Completed Stage:\n {{stage}}</th></tr>\n <tr><td>Environment</td><td>Branch</td><td>Pipeline</td></tr>\n <tr><td>{{environmentName}}</td><td>{{refName}}</td><td><a\n href=“{{pipelineUrl}}“\n >{{pipelineId}}</a></td></tr>\n{{#if upgradedPackages.length}}\n <tr><td colspan=“3”>Upgraded Packages</td></tr>\n{{#each upgradedPackages}}\n <tr><td colspan=“1”>{{packageName}}</td><td colspan=“2”>{{{storiesLinked}}}</td></tr>\n{{/each}}\n{{/if}}\n</table>\n”
project-failure-notification
Section titled “project-failure-notification”
readonlyproject-failure-notification: “<table>\n <tr><th colspan=“3” style=“color: white; background-color: darkred;”>{{projectTitle}}: Failed\n Deployment</th></tr>\n <tr><th colspan=“3” style=“color: white; background-color: grey;“>Stage:\n {{stage}}</th></tr>\n <tr><td>Environment</td><td>Branch</td><td>Pipeline</td></tr>\n <tr><td>{{environmentName}}</td><td>{{refName}}</td><td><a\n href=“{{pipelineUrl}}“\n >{{pipelineId}}</a></td></tr>\n</table>\n”
project-success-notification
Section titled “project-success-notification”
readonlyproject-success-notification: “<table>\n <tr><th colspan=“3” style=“color: white; background-color: darkgreen;”>{{projectTitle}}: Completed\n Deployment</th></tr>\n <tr><td>Environment</td><td>Branch</td><td>Pipeline</td></tr>\n <tr><td>{{environmentName}}</td><td>{{refName}}</td><td><a\n href=“{{pipelineUrl}}“\n >{{pipelineId}}</a></td></tr>\n <tr><td colspan=“3”>Stories</td></tr>\n <tr><td colspan=“3”>{{{storiesLinked}}}</td></tr>\n</table>\n”