Fixed PHPCI in plugins.
This commit is contained in:
parent
4fe62ea248
commit
7693993df8
|
@ -137,13 +137,11 @@ class Codeception implements \PHPCI\Plugin, \PHPCI\ZeroConfigPlugin
|
||||||
$configPath = $this->phpci->buildPath . $configPath;
|
$configPath = $this->phpci->buildPath . $configPath;
|
||||||
$success = $this->phpci->executeCommand($cmd, $this->phpci->buildPath, $configPath);
|
$success = $this->phpci->executeCommand($cmd, $this->phpci->buildPath, $configPath);
|
||||||
|
|
||||||
|
$this->phpci->log(
|
||||||
$this->phpci->log(
|
'Codeception XML path: '. $this->phpci->buildPath . $this->path . 'report.xml',
|
||||||
'Codeception XML path: '. $this->phpci->buildPath . $this->path . 'report.xml',
|
Loglevel::DEBUG
|
||||||
Loglevel::DEBUG
|
);
|
||||||
);
|
$xml = file_get_contents($this->phpci->buildPath . $this->path . 'report.xml', false);
|
||||||
$xml = file_get_contents($this->phpci->buildPath . $this->path . 'report.xml', false);
|
|
||||||
|
|
||||||
|
|
||||||
$parser = new Parser($this->phpci, $xml);
|
$parser = new Parser($this->phpci, $xml);
|
||||||
$output = $parser->parse();
|
$output = $parser->parse();
|
||||||
|
|
Loading…
Reference in a new issue