Clean %buildurl% var for message option: just url given now, not the html link
This commit is contained in:
parent
03c5fb5558
commit
17852f8aa8
|
@ -44,7 +44,7 @@ class Campfire implements \PHPCI\Plugin
|
|||
public function execute()
|
||||
{
|
||||
|
||||
$url = "<a href='".PHPCI_URL."build/view/".$this->phpci->getBuild()->getId()."'>";
|
||||
$url = PHPCI_URL."build/view/".$this->phpci->getBuild()->getId();
|
||||
$message = str_replace("%buildurl%", $url, $this->message);
|
||||
$this->joinRoom($this->roomId);
|
||||
$status = $this->speak($message,$this->roomId);
|
||||
|
|
Loading…
Reference in a new issue