cd: Added email on fail
Some checks failed
nathanwoodburn/woodburn/pipeline/head There was a failure building this commit
Some checks failed
nathanwoodburn/woodburn/pipeline/head There was a failure building this commit
This commit is contained in:
parent
d6a6f57bb0
commit
c734919de7
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -14,8 +14,8 @@ pipeline {
|
||||
if (affectedFiles) {
|
||||
fileExists = true
|
||||
}
|
||||
// Fail the build and display the affected files
|
||||
if (fileExists) {
|
||||
mail bcc: '', body: 'Woodburn website canonical tages incorrect.', cc: '', from: 'noreply@woodburn.au', replyTo: 'noreply@woodburn.au', subject: 'Woodburn failed', to: 'jenkins@woodburn.au'
|
||||
error("Error: Found occurrences of file names with the .html extension in the following files:\n${affectedFiles}")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user