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

Grinder: Always Update Graphs

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • grinder-plugin
    • None

      The Grinder Jenkins plugin only reloads graphs if the underlying project has changed:

      https://github.com/jenkinsci/grinder-plugin/blob/master/src/main/java/hudson/plugins/grinder/AbstractGrinderAction.java#L29

      In my use case the performance tests are initiated by a separate project from the actual code and until we integrate continuous deployment the tests are run by users on demand. Consequently, the project has not changed and the graphs are not updated.

      In order for the graphs to be updated I added a configuration switch to the plugin to always update the graphs. I've never worked in the codebase (Jenkins or Grinder) so I may have misunderstood the model; but this did solve our problem.

      I have included a screenshot, diff and compiled HPI file. The results were tested under Jenkins 1.503.

        1. grinder.hpi
          24 kB
        2. grinder.jenkins.diff
          7 kB
        3. grinder.jenkins.png
          grinder.jenkins.png
          15 kB

            asgeirn asgeirn
            vjkoskela Ville Koskela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: