This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
Enable email notifications for the Jenkins Smokey job #5825
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'd like to know as soon as possible if a change we've deployed means
that an associated Smokey test fails.
This is the same as the change I made for the Deploy App Jenkins job in
4cc8844.
Prior to this change the only notification mechanism was Slack. This was
disabled in integration (the Slack auth token is set to
disabled for environment
in /etc/jenkins_jobs/jobs/smokey.yaml on CI) meaning thatwe'd only see failures by looking at the Jenkins interface. Although it
was enabled in staging and production, the Slack notification only
includes a link to the failure which I'm not able to view because I
don't have access to those Jenkins instances.
I've copied the email configuration from the deploy_app.yaml.erb file as
I know we've received email notifications from that job in Jenkins.
I haven't added a test for this change as we don't appear to have added
tests for similar changes in the past.