Beispiel #1
0
 /**
  * @param Release $release
  * @param Ansible $ansible
  * @param string $message
  */
 public function __construct(Release $release, Ansible $ansible, $message = "")
 {
     $this->ansible = $ansible;
     parent::__construct($release, "Error while running ansible");
 }
Beispiel #2
0
 /**
  * @param Release $release
  * @param Ansible $ansible
  * @param string $message
  */
 public function __construct(Release $release, Ansible $ansible, $message = "")
 {
     $this->ansible = $ansible;
     $message = sprintf("Error while running ansible (%s/%s): %s", $ansible->getPlaybookFile(), $ansible->getInventoryFile(), $message);
     parent::__construct($release, $message);
 }