Skip to content

Commit

Permalink
feat: update ci notifications for easier problem solving (openshift#5…
Browse files Browse the repository at this point in the history
…4126)

Signed-off-by: ehila <ehila@redhat.com>
  • Loading branch information
eggfoobar authored and Prachiti2002 committed Jul 10, 2024
1 parent 5db60d6 commit c4b7b90
Showing 1 changed file with 28 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ periodics:
- success
- error
- aborted
report_template: Job {{.Spec.Job}} finished with state {{.Status.State}}
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :alert-siren:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
- args:
Expand Down Expand Up @@ -117,7 +120,10 @@ periodics:
- success
- error
- aborted
report_template: Job {{.Spec.Job}} finished with state {{.Status.State}}
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :alert-siren:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
- args:
Expand Down Expand Up @@ -207,7 +213,10 @@ periodics:
- success
- error
- aborted
report_template: Job {{.Spec.Job}} finished with state {{.Status.State}}
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :alert-siren:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
- args:
Expand Down Expand Up @@ -298,7 +307,10 @@ periodics:
- success
- error
- aborted
report_template: Job {{.Spec.Job}} finished with state {{.Status.State}}
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :alert-siren:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
- args:
Expand Down Expand Up @@ -389,7 +401,10 @@ periodics:
- success
- error
- aborted
report_template: Job {{.Spec.Job}} finished with state {{.Status.State}}
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :alert-siren:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
- args:
Expand Down Expand Up @@ -480,7 +495,10 @@ periodics:
- success
- error
- aborted
report_template: Job {{.Spec.Job}} finished with state {{.Status.State}}
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :alert-siren:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
- args:
Expand Down Expand Up @@ -570,7 +588,10 @@ periodics:
- success
- error
- aborted
report_template: Job {{.Spec.Job}} finished with state {{.Status.State}}
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :alert-siren:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
containers:
- args:
Expand Down

0 comments on commit c4b7b90

Please sign in to comment.