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

Warnings Plugin for GHS doesnt' get the filename correct

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • warnings-plugin
    • None
    • Windows XP-32, Jenkins 1.506, Warnings Plugin 4.23
      MULTI Compiler 2012.5

      The GHS Plugin doesn't get the file name correct.

      Example from Output:
      "../../../40_cmn/include/Source/IoHwAb.h", line 219: warning #301-D: typedef
      name has already been declared (with same type)
      typedef uint16 IoHwAb_AnalogValueType;

      Warning plugin recognizes the following:

      IoHwAb.h":189, GHS Multi Compiler, Priorität: Normal
      typedef name has already been declared (with same type) typedef uint8 IoHwAb_AnalogInputStatusType;

      => Take a look on the double quotes

      This is stored in the tmp-File in the build-workspace:

      1 Copying the source file './../../40_cmn/include/Source/IoHwAb.h"' from the workspace to the build folder 'C:...\builds\2013-03-22_10-24-31\workspace-files\709f15f2.tmp' on the Hudson master failed.
      2 Seems that the path is relative, however an absolute path is required when copying the sources.
      3 Is the file 'IoHwAb.h"' contained more than once in your workspace?
      4 Is the file './../../40_cmn/include/Source/IoHwAb.h"' a valid filename?
      5 If you are building on a slave: please check if the file is accessible under '$JENKINS_HOME/[job-name]/./../../40_cmn/include/Source/IoHwAb.h"'
      6 If you are building on the master: please check if the file is accessible under '$JENKINS_HOME/[job-name]/workspace/./../../40_cmn/include/Source/IoHwAb.h"'

          [JENKINS-17320] Warnings Plugin for GHS doesnt' get the filename correct

          Ulli Hafner added a comment -

          This shouldn't be hard to fix: interested in providing a pull request?

          Ulli Hafner added a comment - This shouldn't be hard to fix: interested in providing a pull request?

          Because I'm not familiar with the changing java sources I would try
          to create a specific warnings parser in the system configuration.

          Thorsten Scheepers added a comment - Because I'm not familiar with the changing java sources I would try to create a specific warnings parser in the system configuration.

          Ulli Hafner added a comment -

          Ok, then please reopen if you change your mind

          Ulli Hafner added a comment - Ok, then please reopen if you change your mind

            drulli Ulli Hafner
            thorsten_sch Thorsten Scheepers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: