Add "source" and "url" parameters to Deployer plugin.

This commit is contained in:
Dan Cryer 2015-10-06 14:16:48 +01:00
parent de6eb62367
commit 06e3235960

View file

@ -59,6 +59,8 @@ class Deployer implements \PHPCI\Plugin
$response = $http->post($this->webhookUrl, array(
'reason' => $this->phpci->interpolate($this->reason),
'source' => 'PHPCI',
'url' => $this->phpci->interpolate('%BUILD_URI%'),
));
return $response['success'];