Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Plugin Information

View Redmine Metrics Report on the plugin site for more information.

Summary

This plugin aggregates redmine issues by the specified custom query and creates html report using google chart.

How To Use

  1. Open project configure page, in build section click [Add build step] -> [Generate Redmine Metrics Report].

  2. Click [Add] to add multiple Redmine Projects.

  3. Specify Redmine Info.

  4. In the Post-build Actions, use the [HTML Publisher Plugin] to display the generated html reports.
    Note: In order to allow Jenkins to run html page with javascript, You have to set the following script in Jenkins script console and clean browser cache. This setup won't survive after Jenkins service restart, so you have to set it again and clean browser cache.

    System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
  5. After the project is built successfully, click [Redmine Report] on the side menu to see the report.

Feature

  • Issue Increment Chart (Open Issues)
  • Issue Open & Close Chart
  • Assignee Chart

Change Log

Version 1.0.1 (Oct 31, 2018)
  • Minor bug fix.
  • Add description for field [project name].
Version 1.0.0 (Sep 27, 2018)
  • Initial release.

3 Comments

  1. Unknown User (ug23426)

    Hi Shepherd, 

    I have set configuration for this plugin, but Jenkins returned error message as below:

    ---------------------------

    [Redmine Metrics Report] Project Name : Test Only
    ERROR: Build step failed with exception
    java.lang.NullPointerException
    	at io.jenkins.plugins.redmine.MetricsReportBuilder.perform(MetricsReportBuilder.java:67)
    	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
    	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
    	at hudson.model.Build$BuildExecution.build(Build.java:206)
    	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
    	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
    	at hudson.model.Run.execute(Run.java:1810)
    	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    	at hudson.model.ResourceController.execute(ResourceController.java:97)
    	at hudson.model.Executor.run(Executor.java:429)

    --------------------------

    Could you let me know how can I fix it, if you have any idea.

    Thank you.

  2. Unknown User (bestoak)

    Hi Justin

    Thank you very much for using this plugin.

    My apologies for not making a clear explanation in the wiki page, I think the reason is your project name.

    You have to use the Identifier in stead of Name which you can find in the project setting page.

    If you have any other questions or request, please feel free to let me know.

  3. Unknown User (ug23426)

    Hi Shepherd

    It's workable now.

    Thanks for you help.