We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WorkflowNotificationFormComponent relies on
WorkflowNotificationFormComponent
export const notificationTypes = ['jabber', 'email']; export const notificationOnSuccess = ['always', 'change', 'never']; export const notificationOnFailure = ['always', 'change', 'never'];
API provides those data from /notification/type and /notification/state
/notification/type
/notification/state
also i would like to handle this:
export class UserNotificationTemplate { subject: string; body: string; constructor() { this.subject = '{{.cds.project}}/{{.cds.application}} {{.cds.pipeline}} {{.cds.environment}}#{{.cds.version}} {{.cds.status}}'; this.body = 'Project : {{.cds.project}}\n' + 'Application : {{.cds.application}}\n' + 'Pipeline : {{.cds.pipeline}}/{{.cds.environment}}#{{.cds.version}}\n' + 'Status : {{.cds.status}}\n' + 'Details : {{.cds.buildURL}}\n' + 'Triggered by : {{.cds.triggered_by.username}}\n' + 'Branch : {{.git.branch}}'; } }
on API Side, returned by /notification/type
The goal are:
related to #3519
The text was updated successfully, but these errors were encountered:
feat(api,ui): notification as code
23a9143
close #3534, #3519
feat(api, sdk, ui): notifications as code (#3546)
4bf5d50
close #3534 #3519
Successfully merging a pull request may close this issue.
WorkflowNotificationFormComponent
relies on
API provides those data from
/notification/type
and/notification/state
also i would like to handle this:
on API Side, returned by
/notification/type
The goal are:
related to #3519
The text was updated successfully, but these errors were encountered: