mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-17 21:35:38 +02:00
Add notification to api
This commit is contained in:
@@ -18,7 +18,8 @@ type JenkinsSpec struct {
|
||||
SeedJobs []SeedJob `json:"seedJobs,omitempty"`
|
||||
|
||||
// Notification defines services which are used to inform about Jenkins behavior
|
||||
Notification []Notification `json:"notification,omitempty"`
|
||||
// Can be used to integrate chat services like Slack or Email services like Mailgun
|
||||
Notification Notification `json:"notifications,omitempty"`
|
||||
|
||||
// Service is Kubernetes service of Jenkins master HTTP pod
|
||||
// Defaults to :
|
||||
@@ -488,9 +489,6 @@ const (
|
||||
type JenkinsNotificationLogLevel string
|
||||
|
||||
const (
|
||||
// LogLevelNone - No logs
|
||||
LogLevelNone JenkinsNotificationLogLevel = ""
|
||||
|
||||
// LogLevelWarning - Only Warnings
|
||||
LogLevelWarning JenkinsNotificationLogLevel = "warning"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user