Skip to content

Commit

Permalink
CI IT: Change notification settings
Browse files Browse the repository at this point in the history
  • Loading branch information
loicalbertin committed Feb 28, 2020
1 parent b092c4b commit 528e655
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions testdata/ci/runner/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -377,13 +377,6 @@ spec:
cucumber 'testdata/ci/reports/tests-godog.json'

}
success {
echo 'Test successful'
}
failure {
echo 'Test failures'
emailext body: '${DEFAULT_CONTENT}', mimeType: 'text/html', replyTo: '$DEFAULT_REPLYTO', subject: '${DEFAULT_SUBJECT}', to: '$DEFAULT_RECIPIENTS'
}
}
}
stage('Generate HTML reports') {
Expand Down Expand Up @@ -448,6 +441,13 @@ spec:
"""
}
}

unsuccessful {
emailext attachLog: true, compressLog: true, body: '${DEFAULT_CONTENT}', mimeType: 'text/html', replyTo: '$DEFAULT_REPLYTO', subject: '${DEFAULT_SUBJECT}', recipientProviders: [culprits(), developers(), requestor(), brokenBuildSuspects(), brokenTestsSuspects(), upstreamDevelopers()], to: '$DEFAULT_RECIPIENTS'
}
fixed {
emailext attachLog: true, compressLog: true, body: '${DEFAULT_CONTENT}', mimeType: 'text/html', replyTo: '$DEFAULT_REPLYTO', subject: '${DEFAULT_SUBJECT}', recipientProviders: [culprits(), developers(), requestor(), brokenBuildSuspects(), brokenTestsSuspects(), upstreamDevelopers()], to: '$DEFAULT_RECIPIENTS'
}
}
}
}
Expand Down

0 comments on commit 528e655

Please sign in to comment.