Adding Getter for builder's success property so that plugins can find out if the the build has succeeded or not.
This commit is contained in:
parent
d2c408f589
commit
a4c051e024
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue