From a4c051e024ed2f2c3838017b9c932b549deffd54 Mon Sep 17 00:00:00 2001 From: meadsteve Date: Sat, 1 Jun 2013 13:56:09 +0100 Subject: [PATCH] Adding Getter for builder's success property so that plugins can find out if the the build has succeeded or not. --- PHPCI/Builder.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/PHPCI/Builder.php b/PHPCI/Builder.php index 1f98cf44..b1f7c489 100644 --- a/PHPCI/Builder.php +++ b/PHPCI/Builder.php @@ -135,6 +135,15 @@ class Builder return $this->build; } + /** + * Indicates if the build has passed or failed. + * @return bool + */ + public function getSuccessStatus() + { + return $this->success; + } + /** * Run the active build. */