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

Please add pipeline code examples on the jUnit plugin page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • junit-plugin
    • None

      I was trying to figure out how to publish my jUnit graph from a pipeline job.

      (1) The jUnit plugin page did not even state whether or not pipeline was supported (but, it did list 2 defects which were fixed with regard to pipelines, so one could surmise the pipeline support had been added after at least version 1.14)

      (2) There were no code examples of how to access this plugin from a Jenkinsfile

      (3) Searching on Stack Overflow yielded just a single article, which as it turns out was somewhat out of date

      (4) The git repo for this plugin had even less documentation (that is to say, none)

      (5) I finally found the answers on gitter chat, and also later discovered that junit is selectable in the dropdown list in the Snippet Generator. By that time, I had spent many hours searching for the answer.

      It would have been very helpful probably to many people not just myself had this information been readily available on the plugin page itself.

            Unassigned Unassigned
            mcsf M Chon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: