[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title Jim SERRA commented on JENKINS-31221 Re: Get total comment count in SloccountReportStatistics Hello, sorry for the late answer, I don't know if there is docs for this, but here some a java method that can be useful : (I don't do Jenkins code anymore) public SloccountReportStatistics getStatistics(Job job) { Run build = job.getLastBuild(); while(build != null){ SloccountBuildAction action = "" if (action != null) { SloccountResult result = action.getResult(); if(result != null && !result.isEmpty()) { return result.getStatistics(); } } build = build.getPreviousBuild(); } return new SloccountReportStatistics(new LinkedList()); } and then you can do : this.getStatistics(j).getLineCount(); this.getStatistics(j).getFileCount(); this.getStatistics(j).getLanguageCount(); etc ... Hope it's useful Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title Thomas Carayol commented on JENKINS-31221 Re: Get total comment count in SloccountReportStatistics Thanks a lot for this patch. However, I don't see any documentation about how we use it. Do you have any ? Many thanks. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title Michal Turek closed an issue as Fixed Jenkins / JENKINS-31221 Get total comment count in SloccountReportStatistics Change By: Michal Turek Status: Resolved Closed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title SCM/JIRA link daemon commented on JENKINS-31221 Re: Get total comment count in SloccountReportStatistics Code changed in jenkins User: Jim Path: src/main/java/hudson/plugins/sloccount/SloccountResult.java src/main/java/hudson/plugins/sloccount/model/File.java src/main/java/hudson/plugins/sloccount/model/FileContainer.java src/main/java/hudson/plugins/sloccount/model/SloccountLanguageStatistics.java src/main/java/hudson/plugins/sloccount/model/SloccountParser.java src/main/java/hudson/plugins/sloccount/model/SloccountPublisherReport.java src/main/java/hudson/plugins/sloccount/model/SloccountReport.java src/main/java/hudson/plugins/sloccount/model/SloccountReportInterface.java src/main/java/hudson/plugins/sloccount/model/SloccountReportStatistics.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocReport.java src/main/resources/hudson/plugins/sloccount/SloccountResult/files.jelly src/test/java/hudson/plugins/sloccount/model/SloccountReportTest.java http://jenkins-ci.org/commit/sloccount-plugin/0d502be2181b8bac381d0fef6d771a04f1d469dc Log: JENKINS-31221 Resolved issue - Implement access to comments count Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title SCM/JIRA link daemon commented on JENKINS-31221 Re: Get total comment count in SloccountReportStatistics Code changed in jenkins User: Michal Turek Path: src/main/java/hudson/plugins/sloccount/SloccountDiff.java src/main/java/hudson/plugins/sloccount/SloccountDiffLanguage.java src/main/java/hudson/plugins/sloccount/SloccountDiffSummary.java src/main/java/hudson/plugins/sloccount/SloccountResult.java src/main/java/hudson/plugins/sloccount/model/File.java src/main/java/hudson/plugins/sloccount/model/FileContainer.java src/main/java/hudson/plugins/sloccount/model/SloccountLanguageStatistics.java src/main/java/hudson/plugins/sloccount/model/SloccountParser.java src/main/java/hudson/plugins/sloccount/model/SloccountPublisherReport.java src/main/java/hudson/plugins/sloccount/model/SloccountReport.java src/main/java/hudson/plugins/sloccount/model/SloccountReportInterface.java src/main/java/hudson/plugins/sloccount/model/SloccountReportStatistics.java src/main/java/hudson/plugins/sloccount/model/cloc/ClocReport.java src/main/resources/hudson/plugins/sloccount/SloccountBuildAction/statistics.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/files.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/folders.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/languages.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/modules.jelly src/main/resources/hudson/plugins/sloccount/dashboard/SloccountTablePortlet/table.jelly src/test/java/hudson/plugins/sloccount/model/SloccountReportTest.java http://jenkins-ci.org/commit/sloccount-plugin/de3d4b1428c7aaf5b2efedde044793a5498e027a Log: Merge pull request #46 from Safe0/next JENKINS-31221 Resolved issue - Implement access to comments count Compare: https://github.com/jenkinsci/sloccount-plugin/compare/a4c8ffc76752...de3d4b1428c7 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title SCM/JIRA link daemon commented on JENKINS-31221 Re: Get total comment count in SloccountReportStatistics Code changed in jenkins User: Jim Path: src/main/java/hudson/plugins/sloccount/SloccountDiff.java src/main/java/hudson/plugins/sloccount/SloccountDiffLanguage.java src/main/java/hudson/plugins/sloccount/SloccountDiffSummary.java src/main/java/hudson/plugins/sloccount/model/SloccountParser.java src/main/resources/hudson/plugins/sloccount/SloccountBuildAction/statistics.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/folders.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/languages.jelly src/main/resources/hudson/plugins/sloccount/SloccountResult/modules.jelly src/main/resources/hudson/plugins/sloccount/dashboard/SloccountTablePortlet/table.jelly http://jenkins-ci.org/commit/sloccount-plugin/3a12ffe493e18ef39aca49a7e3a6244b1acf350f Log: JENKINS-31221 Resolved issue - Implement access to comments count add commentCount in: SloccountDiff.java SloccountDiffLanguage.java SloccountDiffSummary.java add column in jelly: statistics.jelly languages.jelly modules.jelly SloccountParser: in parseLine remove commentCount and replace in report.add commentCount by 0 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title Michal Turek resolved as Fixed Released in version 1.21, it should appear in Update center in a day or so. Jenkins / JENKINS-31221 Get total comment count in SloccountReportStatistics Change By: Michal Turek Status: In Progress Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title Jim SERRA updated an issue Jenkins / JENKINS-31221 Get total comment count in SloccountReportStatistics Change By: Jim SERRA I'd like to have comment count when I do a getAction in job level and also saw it as a column of the table in the details of a build.I already do change on my own in "a custom sloccount plugin" but I would like to set it on the official plugin. The change are not quite hard to do if any other developper doesn't take this ticket I will do it myself. One of the feature that I'm developping is blocked cause I don't have the variable "count line of comments" Change POV user:In sloccount result details I added the column "comment".Should I had the column in sloccount-table portlet? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title Jim SERRA started work on JENKINS-31221 Change By: Jim SERRA Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title Jim SERRA assigned an issue to Jim SERRA Jenkins / JENKINS-31221 Get total comment count in SloccountReportStatistics Change By: Jim SERRA Assignee: Jim SERRA Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title Jim SERRA created an issue Jenkins / JENKINS-31221 Get total comment count in SloccountReportStatistics Issue Type: Improvement Assignee: npiguet Components: sloccount-plugin Created: 28/Oct/15 11:34 AM Priority: Minor Reporter: Jim SERRA I'd like to have comment count when I do a getAction in job level and also saw it as a column of the table in the details of a build. I already do change on my own in "a custom sloccount plugin" but I would like to set it on the official plugin. The change are not quite hard to do if a developper doesn't take this ticket I will do it myself. Add Comment
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title Jim SERRA assigned an issue to Unassigned Jenkins / JENKINS-31221 Get total comment count in SloccountReportStatistics Change By: Jim SERRA Assignee: npiguet Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [sloccount-plugin] (JENKINS-31221) Get total comment count in SloccountReportStatistics
Title: Message Title Jim SERRA updated an issue Jenkins / JENKINS-31221 Get total comment count in SloccountReportStatistics Change By: Jim SERRA Priority: Minor Blocker I'd like to have comment count when I do a getAction in job level and also saw it as a column of the table in the details of a build.I already do change on my own in "a custom sloccount plugin" but I would like to set it on the official plugin. The change are not quite hard to do if any other developper doesn't take this ticket I will do it myself. One of the feature that I'm developping is blocked cause I don't have the variable "count line of comments" Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.