-
Notifications
You must be signed in to change notification settings - Fork 121
Closed
Description
Problem running phpdox in jenkins environment.
PHP Version: 5.4.32-1~dotdeb.1 (Linux)
PHPDox Version: %development%
Exception: TheSeer\phpDox\Generator\TokenFileException (Code: 1)
Location: .../vendor/theseer/phpdox/src/generator/project/TokenFile.php (Line 19)
File '/var/lib/jenkins/jobs/4-Master%20Calvin%20QA-Tools%20Check/workspace/xxx/build/phpdox/xml/tokens/xxx/yyy/Exceptions/SpellCheckEngineMisconfiguredException.php.xml' not found
#0 /var/lib/jenkins/jobs/4-Master Calvin QA-Tools Check/workspace/calvin/vendor/theseer/phpdox/src/generator/Generator.php(153): TheSeer\phpDox\Generator\TokenFileIterator->current()
#1 /var/lib/jenkins/jobs/4-Master Calvin QA-Tools Check/workspace/calvin/vendor/theseer/phpdox/src/generator/Generator.php(146): TheSeer\phpDox\Generator\Generator->processTokenFiles()
#2 /var/lib/jenkins/jobs/4-Master Calvin QA-Tools Check/workspace/calvin/vendor/theseer/phpdox/src/Application.php(238): TheSeer\phpDox\Generator\Generator->run()
#3 /var/lib/jenkins/jobs/4-Master Calvin QA-Tools Check/workspace/calvin/vendor/theseer/phpdox/src/CLI.php(152): TheSeer\phpDox\Application->runGenerator()
#4 /var/lib/jenkins/jobs/4-Master Calvin QA-Tools Check/workspace/calvin/vendor/theseer/phpdox/composer/bin/phpdox(30): TheSeer\phpDox\CLI->run()
The file exists - but path with spaces, not with %20.
Is it possible, that the error has something to do with spaces in the path - or with the path length? (total path and file length 181 characters / spaces in the output shown as %20 /var/lib/jenkins/jobs/4-Master%20Calvin%20QA-Tools%20Check/workspace ...)
It works for me in an "normal" build environment (no spaces in path), but fails in jenkins environment (longer path and spaces in the name of the job). Regardless of starting it directly from jenkins of from bash logged in as jenkins and cd in the workspace directory of the job.
But strange, that it failes quite "late" - if the spaces should be the problem...
Metadata
Metadata
Assignees
Labels
No labels