Code Review
/
infra
/
cicd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
88d9913
)
Add global jjb macro for slack notifications
08/308/1
author
Fatih Degirmenci
<fdegir@gmail.com>
Thu, 31 Jan 2019 17:48:58 +0000
(18:48 +0100)
committer
Fatih Degirmenci
<fdegir@gmail.com>
Thu, 31 Jan 2019 17:48:58 +0000
(18:48 +0100)
Change-Id: Ia8084335c0eaed8cd0bcb679ce6b6c38d9350634
jjb/global/jjb-macros.yaml
patch
|
blob
|
history
diff --git
a/jjb/global/jjb-macros.yaml
b/jjb/global/jjb-macros.yaml
index cedcea1b5113f4b43f9c68c15e733387a70ab214..a14b0577f54f1264c4d06046bdedcac0e06dd36c 100644
(file)
--- a/
jjb/global/jjb-macros.yaml
+++ b/
jjb/global/jjb-macros.yaml
@@
-215,3
+215,11
@@
timeout: '{timeout}'
timeout-var: 'BUILD_TIMEOUT'
fail: true
timeout: '{timeout}'
timeout-var: 'BUILD_TIMEOUT'
fail: true
+
+- publisher:
+ name: notify-slack
+ publishers:
+ - slack:
+ room: '{slack-channel}'
+ notify-failure: True
+ notify-back-to-normal: True