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

Enable reporting of compiler warnings in workflow steps

      Enable generation of trend report data on compiler warnings from workflow build steps. Handle multiple compiles in a workflow.

          [JENKINS-27209] Enable reporting of compiler warnings in workflow steps

          Leon Leon added a comment - - edited

          I am trying to use the compiler warnings in workflow. However, since it is not available in the snippet generator. I am calling it this way:
          step([$class: 'WarningsPublisher', consoleParsers: [[parserName: 'myParser']]])
          How can I add more options to this ? I need to make it always run even if the build failed (So I need this option: Run always: If this plug-in should run even for failed builds then activate this check box)
          Thank you in advance

          Leon Leon added a comment - - edited I am trying to use the compiler warnings in workflow. However, since it is not available in the snippet generator. I am calling it this way: step([$class: 'WarningsPublisher', consoleParsers: [ [parserName: 'myParser'] ]]) How can I add more options to this ? I need to make it always run even if the build failed (So I need this option: Run always: If this plug-in should run even for failed builds then activate this check box) Thank you in advance

          Ulli Hafner added a comment - - edited

          Ulli Hafner added a comment - - edited You can have a look at https://github.com/jenkinsci/acceptance-test-harness/commit/c0aeb6d399385ebc8969181033661e7b0adab599 and https://github.com/jenkinsci/analysis-core-plugin/blob/master/src/main/java/hudson/plugins/analysis/core/HealthAwareRecorder.java . You will find there all relevant options. If that does not help please use the mailing list.

            drulli Ulli Hafner
            nharniman Nigel Harniman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: