Skip to content

Commit

Permalink
BUILD: use slack parameters from teamcity parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
vvlevchenko committed Apr 4, 2017
1 parent 8505f03 commit 77fb3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/groovy/org/jetbrains/kotlin/Reporter.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ class Reporter extends DefaultTask {

def report = "total: ${stats.total}\npassed: ${stats.passed}\nfailed: ${stats.failed}\nerror:${stats.error}\nskipped:${stats.skipped} ${epilog}"
println(report)
def session = new SlackSessionFactory().createWebSocketSlackSession("xoxb-137371102001-DaYxLJEmbhOZQiR4XFRLZuHG")
def session = new SlackSessionFactory().createWebSocketSlackSession(buildPropeties.'konan-repoter-token')
session.connect()
def channel = session.findChannelByName("kotlin-native-team")
def channel = session.findChannelByName(buildPropeties.'konan-channel-name')
session.sendMessage(channel, "Hello, аборигены Котлина!\n текущий статус:\n${report}")
session.disconnect()
}
Expand Down

0 comments on commit 77fb3c6

Please sign in to comment.