Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27681

Warnings Plugin - does not report PHP Fatal Error which is occurring on console

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • warnings-plugin
    • None
    • Jenkins 1.606
      Warnings Plugin 4.47
      Static Analysis Utilities Plugin 1.71

      I am using Warnings Plugin with the attend to collect output of my builds, which are php-ones (phpunit & stuff).

      I haven proven Warnings Plugin is working in general.

      But in special, I am seeing following on the build-console-output:

      phpunit:
      [exec] PHPUnit 4.5.1 by Sebastian Bergmann and contributors.
      [exec]
      [exec] Configuration read from .../phpunit.xml
      [exec]
      [exec] PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from '...' : failed to load external entity "..."
      [exec] in ...*.php on line 39

      This is not reported by the warnings plugin, but should be(?!).

          [JENKINS-27681] Warnings Plugin - does not report PHP Fatal Error which is occurring on console

          Ulli Hafner added a comment -

          Shouldn't be complicated to fix. Interested in providing a pull request (test and regexp fix)?

          Ulli Hafner added a comment - Shouldn't be complicated to fix. Interested in providing a pull request (test and regexp fix)?

          I would love to, but to be honest, I won't find the time.

          Markus Schulte added a comment - I would love to, but to be honest, I won't find the time.

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/warnings/parser/PhpParser.java
          src/test/java/hudson/plugins/warnings/parser/PhpParserTest.java
          src/test/resources/hudson/plugins/warnings/parser/issue27681.txt
          http://jenkins-ci.org/commit/warnings-plugin/21ae1650696805f98c2c09e9ee63556b044b1ee6
          Log:
          [FIXED JENKINS-27681] Added support for PHP fatal errors without file name.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/parser/PhpParser.java src/test/java/hudson/plugins/warnings/parser/PhpParserTest.java src/test/resources/hudson/plugins/warnings/parser/issue27681.txt http://jenkins-ci.org/commit/warnings-plugin/21ae1650696805f98c2c09e9ee63556b044b1ee6 Log: [FIXED JENKINS-27681] Added support for PHP fatal errors without file name.

            drulli Ulli Hafner
            schultemarkus Markus Schulte
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: