#1289  Build failure e-mail notification
Closed
Jerome St-Louis opened 1 year ago

Is there currently a mechanism to automatically send an e-mail notification of build failure to the person who triggered the failing build (whether by pushing a commit or by clicking a build button)? As well as a notification for pushing a commit that fixed the build.

I could not find any option for it if there is, but this is an essential CI/CD feature that most would want.

We would also want IRC notifications once those work (issue #972).

e-mail is configured and the test e-mail works fine.

Jerome St-Louis commented 1 year ago

I found a partial solution from issue #144 where you explain how to subscribe to releases -- same mechanism can be used to subscribe to failed builds.

However:

  • automatically e-mailing the person triggering a build failure, and
  • e-mailing the person pushing a commit fixing the build

might be a New Feature request?

I don't necessarily want to be notified of all the build failures, but I want each of the developers to be notified for any commit they push that breaks the build.

Robin Shen commented 1 year ago

In the job definition, add post build action of type send notification in more settings. There are various conditions and receivers to address such issues.

Jerome St-Louis commented 1 year ago

@robin Ah thank you. I would have expected to find this in the global, project and/or user settings instead, but this should do the trick.

Jerome St-Louis changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
Unknown commented 1 year ago

Is there currently a mechanism to automatically send an e-mail notification of build failure to the person who triggered the failing build (whether by pushing a commit or by clicking a build button)? As well as a notification for pushing a commit that fixed the build.

I could not find any option for it if there is, but this is an essential CI/CD feature that most would want.

We would also want IRC notifications once those work (issue #972).

e-mail is configured and the test e-mail works fine.

Hello, please could you add to the issue #972 instead of quoting it elsewhere, otherwise I might miss the requests which are being made!

issue 1 of 1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
onedev/server#1289
Please wait...
Page is in error, reload to recover