Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Change slack notification behaviour to work when env=prod only. Closes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhys Smith committed Aug 11, 2016
1 parent ffbc360 commit 519c6f5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1526,8 +1526,14 @@
<tstamp>
<format property="TIME_UTC" pattern="HH:mm" locale="UTC" />
</tstamp>
<SLACK.send conf="${tools.slacktee}/conf/aggr-ant.conf" colour="good"
message="${DATE_UTC} ${TIME_UTC}: Successfully published new UKf MD Aggregates and MDQ cache." />
<!-- Only send when we're doing prod flows -->
<if>
<equals arg1="${env}" arg2="prod"/>
<then>
<SLACK.send conf="${tools.slacktee}/conf/aggr-ant.conf" colour="good"
message="${DATE_UTC} ${TIME_UTC}: Successfully published new UKf MD Aggregates and MDQ cache." />
</then>
</if>
</target>

<!--
Expand Down

0 comments on commit 519c6f5

Please sign in to comment.