[devops] add e-mail notification for builds started by timer

Bug #1413268 reported by Aleksandra Fedorova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Wishlist
Mateusz Matuszkowiak

Bug Description

On Fuel CI we have builds triggered by Gerrit requests, but we also configure timer trigger for them.

When job is triggered by timer it takes latest merged code and runs test on it. If this job fails master is broken and we need to fix it ASAP.

So we need to configure e-mail notification in case
(job is triggered by timer AND job failed)
or, equivalently,
(GERRIT_CHANGE_URL variable undefined AND job failed)

We can use Script Trigger option in Extended Email Notifications in Jenkins for that.

Tags: devops jenkins
Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Mateusz Matuszkowiak (mmatuszkowiak)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Mateusz Matuszkowiak (mmatuszkowiak) wrote :

Fix committed - currently fuel-ci jobs can use predefined 'email-default' from macro.

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Mateusz Matuszkowiak (mmatuszkowiak) wrote :

All remaining fuel-ci jobs, which uses timer, needs to be updated.

Changed in fuel:
status: Fix Committed → In Progress
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Revision history for this message
Mateusz Matuszkowiak (mmatuszkowiak) wrote :

Added email-default to the remaining fuel-ci jobs: https://review.fuel-infra.org/#/c/4436/

Changed in fuel:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.