mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
fix(build): Turn test reporting back on now that Jenkins is a LaunchAgent not LaunchDaemon
This commit is contained in:
parent
9ea308e831
commit
6d5f2d66d2
1 changed files with 12 additions and 12 deletions
|
@ -155,15 +155,15 @@ module.exports = (grunt) ->
|
|||
grunt.log.error("Process error: #{err}")
|
||||
|
||||
testProc.on 'close', (exitCode, signal) ->
|
||||
#if testSucceeded
|
||||
done()
|
||||
# else
|
||||
# testOutput = testOutput.replace(/\x1b\[[^m]+m/g, '')
|
||||
# url = "https://hooks.slack.com/services/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"
|
||||
# request.post
|
||||
# url: url
|
||||
# json:
|
||||
# username: "Edgehill Builds"
|
||||
# text: "Aghhh somebody broke the build. ```#{testOutput}```"
|
||||
# , (err, httpResponse, body) ->
|
||||
# done(false)
|
||||
if testSucceeded
|
||||
done()
|
||||
else
|
||||
testOutput = testOutput.replace(/\x1b\[[^m]+m/g, '')
|
||||
url = "https://hooks.slack.com/services/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"
|
||||
request.post
|
||||
url: url
|
||||
json:
|
||||
username: "Edgehill Builds"
|
||||
text: "Aghhh somebody broke the build. ```#{testOutput}```"
|
||||
, (err, httpResponse, body) ->
|
||||
done(false)
|
||||
|
|
Loading…
Reference in a new issue