Fix the problem when executing Phing out of the build dir.
Closes #778 Closes #748
This commit is contained in:
parent
6420119f1a
commit
601318b97b
1 changed files with 6 additions and 2 deletions
|
|
@ -213,8 +213,12 @@ class Phing implements \PHPCI\Plugin
|
|||
*/
|
||||
public function propertiesToString()
|
||||
{
|
||||
if (empty($this->properties)) {
|
||||
return '';
|
||||
/**
|
||||
* fix the problem when execute phing out of the build dir
|
||||
* @ticket 748
|
||||
*/
|
||||
if (!isset($this->properties['project.basedir'])) {
|
||||
$this->properties['project.basedir'] = $this->getDirectory();
|
||||
}
|
||||
|
||||
$propertiesString = array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue