Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

C/C++test reports for unit test results must be generated with the Overview of checked files and executed tests option enabled. You can enable this option on the command line by using the option -property report.contexts_details=true or by setting the report.contexts_details=true property in the settings file.

...

The status and details of quality gates (Success, Unstable, or Failed) will be shown in the table in Summary page.

Troubleshooting

Can't write coverage paint of 'Xxx‘ to zipped source file ’Xxx'

Panel

[Parasoft Coverage] [-ERROR-] Can't write coverage paint of 'Xxx' to zipped source file 'Xxx' due to an exception: MalformedInputException: Input length = 1

This error occurs when there is a mismatch between the Source Code Encoding configured in Jenkins and the charset used in your source code. To resolve this:

  1. Check Jenkins Settings: Confirm that the Source Code Encoding option in the Jenkins settings aligns with the encoding charset of your source code files. If this option isn't configured, Jenkins defaults to UTF-8.
  2. Adjust File Encoding:
    • If the error affects only a single file, consider changing the encoding charset of that file to match your Jenkins settings.
    • If the error persists in all files of the project, it's recommended that you update the Source Code Encoding option in the Jenkins settings to match the encoding of your source code files.

Third-party Acknowledgements

...