From 6ad14a8035fed04a72a19b75df51af3086b343c5 Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Tue, 6 Oct 2015 14:16:48 +0100 Subject: [PATCH] Add "source" and "url" parameters to Deployer plugin. --- PHPCI/Plugin/Deployer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PHPCI/Plugin/Deployer.php b/PHPCI/Plugin/Deployer.php index 62f51d0d..bda55ff0 100644 --- a/PHPCI/Plugin/Deployer.php +++ b/PHPCI/Plugin/Deployer.php @@ -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'];