SourceCodePainter overwrites original files

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      coverage.xml contains filename attributes.
      If this attribute is absolute based on hudson.FilePath implementation,
      canvas FilePath object is created as absolute and outside of the intended cobertura job directory. SourceCodePainter overwrites this file in paintSourceCode().

      Attached is a very simple patch, pointing to the problem.
      coverage.xml is produced on Windows by patched gcovr.py using QNX cross compiler tools. It is simplified for testing.

        1. coverage.xml
          19 kB
          Murat Yukselen
        2. SourceCodePainter.patch
          1 kB
          Murat Yukselen

            Assignee:
            sogabe
            Reporter:
            Murat Yukselen
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: