Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Block8/PHPCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Cryer committed Jan 13, 2015
2 parents c93cdf7 + e9e0ba8 commit c54f229
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PHPCI/Plugin/SlackNotify.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ public function execute()
$successfulBuild = $this->build->isSuccessful();

if ($successfulBuild) {
$message = 'Success';
$status = 'Success';
$color = 'good';
} else {
$message = 'Failed';
$status = 'Failed';
$color = 'danger';
}

Expand All @@ -96,7 +96,7 @@ public function execute()
'fields' => array(
new \Maknz\Slack\AttachmentField(array(
'title' => 'Status',
'value' => $message,
'value' => $status,
'short' => false
))
)
Expand Down

0 comments on commit c54f229

Please sign in to comment.