mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-08 05:31:56 +00:00
specifying dev shards when master branch is being deployed
This commit is contained in:
@@ -52,6 +52,9 @@ hipchatShareFile {
|
||||
hipchatSendNotification {
|
||||
String branch = project.hasProperty('branch') ? project.property('branch') : 'unknown'
|
||||
message = "Began executable deploy of SmartThingsPublic(${branch})."
|
||||
if (branch == 'master') {
|
||||
message += ' (dev shards)'
|
||||
}
|
||||
color = branch == 'master' ? 'yellow' : 'red'
|
||||
notify = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user