Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when used in Jenkins with directory containing space #175

Closed
moffe42 opened this issue Nov 7, 2014 · 1 comment
Closed

Error when used in Jenkins with directory containing space #175

moffe42 opened this issue Nov 7, 2014 · 1 comment

Comments

@moffe42
Copy link

moffe42 commented Nov 7, 2014

phpDox fails if used in combination with Jenkins, if the project contains a space in its name, hence the directory on disk also contain a space.

Example output from phpDox via Jenkins
´´´
[exec] .................................................. [2900]
[exec] .................................................. [2950]
[exec] .................................................. [3000]
[exec] .................................................. [3050]
[exec] .................................................. [3100]
[exec] .................................................. [3150]
[exec] .................................................. [3200]
[exec] .................................................. [3250]
[exec]
[exec] Oups... phpDox encountered a problem and has terminated!
[exec]
[exec] It most likely means you've found a bug, so please file a report for this
[exec] and paste the following details and the stacktrace (if given) along:
[exec]
[exec] PHP Version: 5.5.17 (Linux)
[exec] PHPDox Version: jenkins-Colourbox_API-1055
[exec] Exception: TheSeer\phpDox\Generator\TokenFileException (Code: 1)
[exec] Location: /jenkins/var_lib_jenkins/jobs/Colourbox API/workspace/vendor/theseer/phpdox/src/generator/project/TokenFile.php (Line 19)
[exec]
[exec] File '/jenkins/var_lib_jenkins/jobs/Colourbox%20API/workspace/build/phpdox/tokens/SlimExtensions/RouteSchemaValidator.php.xml' not found
[exec]
[exec] #0 /jenkins/var_lib_jenkins/jobs/Colourbox API/workspace/vendor/theseer/phpdox/src/generator/Generator.php(153): TheSeer\phpDox\Generator\TokenFileIterator->current()
[exec] #1 /jenkins/var_lib_jenkins/jobs/Colourbox API/workspace/vendor/theseer/phpdox/src/generator/Generator.php(146): TheSeer\phpDox\Generator\Generator->processTokenFiles()
[exec] #2 /jenkins/var_lib_jenkins/jobs/Colourbox API/workspace/vendor/theseer/phpdox/src/Application.php(238): TheSeer\phpDox\Generator\Generator->run()
[exec] #3 /jenkins/var_lib_jenkins/jobs/Colourbox API/workspace/vendor/theseer/phpdox/src/CLI.php(152): TheSeer\phpDox\Application->runGenerator()
[exec] #4 /jenkins/var_lib_jenkins/jobs/Colourbox API/workspace/vendor/theseer/phpdox/composer/bin/phpdox(30): TheSeer\phpDox\CLI->run()
[exec]
[exec]
[exec]
[exec] ..................
[exec] Result: 1
´´´

@theseer
Copy link
Owner

theseer commented Nov 7, 2014

Duplicate of #165

@theseer theseer closed this as completed Nov 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants