Skip to content

Commit

Permalink
bugfix - update Jenkinsfile for phpdox (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirish authored Jan 7, 2019
1 parent ba0f1ab commit 94d2381
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pipeline {

stage('PHPUnit') {
steps {
sh 'vendor/bin/phpunit --coverage-clover=build/logs/clover.xml --log-junit=build/logs/junit.xml'
sh 'vendor/bin/phpunit --coverage-clover=build/logs/clover.xml --log-junit=build/logs/junit.xml --coverage-xml=build/logs/coverage'
}
}

Expand Down
10 changes: 5 additions & 5 deletions phpdox.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

<!-- add phploc output -->
<source type="phploc">
<file name="build/logs/phploc.xml" />
<file name="logs/phploc.xml" />
</source>

<!-- git vcs information -->
Expand All @@ -86,18 +86,18 @@

<!-- PHP Code Sniffer findings -->
<source type="phpcs">
<file name="build/logs/phpcs.xml" />
<file name="logs/checkstyle.xml" />
</source>

<!-- PHPMessDetector -->
<source type="pmd">
<file name="build/logs/pmd-cpd.xml" />
<file name="logs/pmd-cpd.xml" />
</source>

<!-- PHPUnit Coverage XML -->
<source type="phpunit">
<coverage path="build/logs/clover.xml" />
<!-- @path - the directory where the xml code coverage report can be found -->
<coverage path="logs/coverage" />
<!-- @path - the directory where the xml code coverage report can be found -->
</source>
<!--
<source type="phpunit">
Expand Down

0 comments on commit 94d2381

Please sign in to comment.