Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Enable email notifications for the Jenkins Deploy App
Browse files Browse the repository at this point in the history
I want to be notified as soon as possible if any of my changes mean that
an app can't be deployed to integration.

A recent change to manuals-publisher caused the deployment to
integration to fail. We only became aware of this problem when we tried
to deploy to production and were informed by 2ndline. We (Go Free Range)
recall having a similar problem when working on smart-answers.

NOTE. Although my use case is for deployments to integration the change
in this commit will mean that we're notified of deployment failures for
all environments.

I've looked through the history of this file to see whether we've
previously removed these notifications (i.e. whether this commit is
reverting a previous commit) but that doesn't seem to be the case.

I copied the email configuration from the
integration_app_deployment.yaml.erb file as I know I've seen 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.
  • Loading branch information
chrisroos committed Apr 3, 2017
1 parent cb7abd5 commit 4cc8844
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/govuk_jenkins/templates/jobs/deploy_app.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
TARGET_APPLICATION=$TARGET_APPLICATION
TARGET_APPLICATION_GIT_REPO=$WORKSPACE/$TARGET_APPLICATION
condition: 'UNSTABLE_OR_BETTER'
- email:
recipients: govuk-ci-notifications@digital.cabinet-office.gov.uk
send-to-individuals: true
wrappers:
- ansicolor:
colormap: xterm
Expand Down

0 comments on commit 4cc8844

Please sign in to comment.