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

          Nigel Harniman created issue -
          Nigel Harniman made changes -
          Labels New: workflow
          Ulli Hafner made changes -
          Link New: This issue duplicates JENKINS-25977 [ JENKINS-25977 ]
          Ulli Hafner made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          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.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161409 ] New: JNJira + In-Review [ 196751 ]
          Andrew Bayer made changes -
          Labels Original: workflow New: pipeline workflow
          Andrew Bayer made changes -
          Labels Original: pipeline workflow New: pipeline

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

              Created:
              Updated:
              Resolved: