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

publishCppcheck in pipeline fails job not stage

    Details

    • Similar Issues:

      Description

      When cppcheck finds an error publishCppcheck writes the following in the log:

      [Cppcheck] Starting the cppcheck analysis.
      [Cppcheck] Processing 1 files with the pattern 'cppcheck_report.xml'.
      [Cppcheck] Setting build status to FAILURE since total number of issues '1' exceeds the threshold value '0'.
      [Cppcheck] Ending the cppcheck analysis.

      but the stage it runs in is not marked as failed. I have tried using publishCppcheck in both steps and post sections and it makes no difference.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              marcosteffan Marco Steffan
              Reporter:
              tsondergaard tsondergaard
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: