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

Configure Quality Gate Thresholds per Tool in post-build action

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • warnings-ng-plugin
    • None
    • Jenkins ver. 2.150.1;
      Warnings Next Generation Plugin 1.0.1

      When using the Record compiler warnings and static analysis results post-build action, we want to be able to set the Quality Gate Thresholds per configured tool.

      In the past we had separate post-build actions for CPD and PC-Lint.
      The post build action from the DRY plugin for CPD was configured in such a way that it never failed the build (only generated the report).
      The post build action from the Warnings plugin for PC-Lint was configured so that the total number of warnings may not increase (which is also missing in the NG plugin at the moment, see JENKINS-52098).

      Currently migrating from both DRY and Warnings to Warnings Next Generation does not seem possible for us, because we can only set the Quality Gate Thresholds for all the configured tools in the Post-build action.

          [JENKINS-55408] Configure Quality Gate Thresholds per Tool in post-build action

          Ulli Hafner added a comment - - edited

          This is already possible using a pipeline. Are you using a freestyle build? Then you need to install a plugin that enables multiple publishers of the same type per job.

          Ulli Hafner added a comment - - edited This is already possible using a pipeline. Are you using a freestyle build? Then you need to install a plugin that enables multiple publishers of the same type per job.

          Arno Moonen added a comment - - edited

          I did not yet know that these kinds of plugins exists. I'll look into it.

          It looks like I can solve this issue with the Flexible Publish plugin.

          Arno Moonen added a comment - - edited I did not yet know that these kinds of plugins exists. I'll look into it. It looks like I can solve this issue with the Flexible Publish plugin .

          Ulli Hafner added a comment -

          Good to see!

          Ulli Hafner added a comment - Good to see!

            drulli Ulli Hafner
            arnom Arno Moonen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: