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

Checkstyle Trend does not show up for Workflow scripts (Pipeline plugin)

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Component/s: checkstyle-plugin
    • Labels:
      None
    • Environment:
      Ubuntu 14.04, Jenkins 1.647, Checkstyle 3.45, Pipeline plugin 1.14
    • Similar Issues:

      Description

      I am using the Pipeline plugin to setup a workflow using a script.
      To publish the checkstyle report, I use this line:

          step([$class: 'CheckStylePublisher', pattern: '**/scalastyle-result.xml', unstableTotalAll: '0', usePreviousBuildAsReference: true])
      

      The checkstyle warnings show up in the build but the "Checkstyle Trend" on the main build page is missing. (See attached).
      Also the checkstyle warnings link does not show up on the main build page.

      Let me know if more info is needed

        Attachments

          Issue Links

            Activity

            punit21 Punit Agrawal created issue -
            punit21 Punit Agrawal made changes -
            Field Original Value New Value
            Description I am using the Pipeline plugin to setup a workflow using a script.
            To publish the checkstyle report, I use this line:

            {code:java}
                step([$class: 'CheckStylePublisher', pattern: '**/scalastyle-result.xml', unstableTotalAll: '0', usePreviousBuildAsReference: true])
            {code}

            The checkstyle warnings show up in the build but the "Checkstyle Trend" on the main build page is missing. (See attached).

            Let me know if more info is needed
            I am using the Pipeline plugin to setup a workflow using a script.
            To publish the checkstyle report, I use this line:

            {code:java}
                step([$class: 'CheckStylePublisher', pattern: '**/scalastyle-result.xml', unstableTotalAll: '0', usePreviousBuildAsReference: true])
            {code}

            The checkstyle warnings show up in the build but the "Checkstyle Trend" on the main build page is missing. (See attached).
            Also the checkstyle warnings link does not show up on the main build page.

            Let me know if more info is needed
            drulli Ulli Hafner made changes -
            Link This issue duplicates JENKINS-31202 [ JENKINS-31202 ]
            drulli Ulli Hafner made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 169394 ] JNJira + In-Review [ 198595 ]

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                punit21 Punit Agrawal
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: