{"issue":{"created_at":"2011-11-25T10:26:59Z","state":"closed","updated_at":"2011-11-29T10:47:52Z","user":{"gravatar_id":"94fc107b3f961ea5b46d1ccdf5bb3566","id":331924,"url":"https://api.github.com/users/tmysik","avatar_url":"https://secure.gravatar.com/avatar/94fc107b3f961ea5b46d1ccdf5bb3566?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tmysik"},"comments":4,"body":"I'm playing a bit with the jenkins-php and ppw and - it's cool, thanks for it! I tried to make some of the reports optional using the build.xml in my test project (generated by ppw). I have found out that in the \"parallelTasks\" any other target than \"phpdoc\" can be disabled - if \"phpdoc\" target is disabled, then the jenkins job fails. So, the minimal configuration of the project's build.xml to pass is this:\r\n\r\n```xml\r\n <target name=\"parallelTasks\" description=\"Run the pdepend, phpmd, phpcpd, phpcs, phpdoc and phploc tasks in parallel using a maximum of 2 threads.\">\r\n  <parallel threadCount=\"2\">\r\n   <sequential>\r\n    <!--antcall target=\"pdepend\"/>\r\n    <antcall target=\"phpmd\"/-->\r\n   </sequential>\r\n<!--   <antcall target=\"phpcpd\"/>-->\r\n<!--   <antcall target=\"phpcs\"/>-->\r\n   <antcall target=\"phpdoc\"/>\r\n<!--   <antcall target=\"phploc\"/>-->\r\n  </parallel>\r\n </target>\r\n```\r\n\r\nCould it be the \"phpdoc\" target made optional as well or not?\r\n\r\nThanks,\r\nTomas\r\n","assignee":null,"id":2348132,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":30,"title":"PhpDoc target is not optional","closed_at":"2011-11-29T10:40:59Z","html_url":"https://github.com/sebastianbergmann/php-jenkins-template/issues/30","url":"https://api.github.com/repos/sebastianbergmann/php-jenkins-template/issues/30","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T10:47:52Z","updated_at":"2011-11-29T10:47:52Z","user":{"gravatar_id":"94fc107b3f961ea5b46d1ccdf5bb3566","id":331924,"url":"https://api.github.com/users/tmysik","avatar_url":"https://secure.gravatar.com/avatar/94fc107b3f961ea5b46d1ccdf5bb3566?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tmysik"},"body":"> Yeah. But thats a jenkins issue. A missing logfile for checkstyle or pmd will result in a waring but the HTML-Publisher will FAIL the build when there is nothing to copy.\r\n\r\nAha, I see now, I didn't know it. In such case, I would prefer to submit a bug against Jenkins and keep this issue opened as a reminder with the lowest priority - but your system, your rules ;)\r\n\r\n> For now, we could only solve this in the template by removing phpdoc support all together and thats not what the template is about.\r\n\r\nNo, this is definitely not intended.\r\n\r\nThanks a lot.\r\n","id":2928209,"url":"https://api.github.com/repos/sebastianbergmann/php-jenkins-template/issues/comments/2928209"}}