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 {
|
hipchatSendNotification {
|
||||||
String branch = project.hasProperty('branch') ? project.property('branch') : 'unknown'
|
String branch = project.hasProperty('branch') ? project.property('branch') : 'unknown'
|
||||||
message = "Began executable deploy of SmartThingsPublic(${branch})."
|
message = "Began executable deploy of SmartThingsPublic(${branch})."
|
||||||
|
if (branch == 'master') {
|
||||||
|
message += ' (dev shards)'
|
||||||
|
}
|
||||||
color = branch == 'master' ? 'yellow' : 'red'
|
color = branch == 'master' ? 'yellow' : 'red'
|
||||||
notify = true
|
notify = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user