---
- job:
    name: whitehall_run_broken_link_checker
    display-name: whitehall_run_broken_link_checker
    project-type: freestyle
    description: "<p>Triggers the broken link checker rake task on whitehall-backend-1.</p>"
    builders:
        - shell: |
            ssh deploy@whitehall-backend-1.backend 'cd /var/apps/whitehall; govuk_setenv whitehall nohup bundle exec rake generate_broken_link_reports[/tmp/bad_link_reports,departments-policy-content@digital.cabinet-office.gov.uk]'
            echo "Broken link checker run"
    triggers:
        - timed: '0 2 1 * *'
    wrappers:
        - ansicolor:
            colormap: xterm
    publishers:
        - email:
            recipients: govuk-ci-notifications@digital.cabinet-office.gov.uk
    logrotate:
      artifactNumToKeep: 10


---
- job:
    name: whitehall_run_broken_link_checker
    display-name: whitehall_run_broken_link_checker
    project-type: freestyle
    description: "<p>Triggers the broken link checker rake task on whitehall-backend-1.</p>"
    builders:
        - shell: |
            ssh deploy@whitehall-backend-1.backend 'cd /var/apps/whitehall; govuk_setenv whitehall nohup bundle exec rake generate_broken_link_reports[/tmp/bad_link_reports,second-line-content@digital.cabinet-office.gov.uk]'
            echo "Broken link checker run"
    triggers:
        - timed: '0 2 1 * *'
    wrappers:
        - ansicolor:
            colormap: xterm
    publishers:
        - email:
            recipients: govuk-ci-notifications@digital.cabinet-office.gov.uk
    logrotate:
      artifactNumToKeep: 10


Update broken link report email
Update broken link report email

Email changed to second-line-content@digital.cabinet-office.gov.uk as
per
[Trello](https://trello.com/c/RCdWcC28/429-broken-links-report-for-publishers-medium)
