mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-04-02 06:13:07 +01:00
Merge pull request #635 from robzienert/branch-name-improvement
MISC: 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