-
Improvement
-
Resolution: Fixed
-
Major
-
All
Showing the Reviews (Classification and Comment by Users) from the configured FindBugs Cloud was obviously achieved by sending a request to the "bug details url" (http://any.findbugs.cloud/<issueHash>?embed). The code for getting this URL template from the Cloud definition is now commented out as the FindBugs API has changed:
In FindBugsParser#setCloudInformation
// FIXME: This method has been removed in findbugs 2.0.0 // bug.setDetailsUrlTemplate(cloud.getBugDetailsUrlTemplate());
As this is a major feature of connecting to a FindBugs Cloud in the first place, I think this should be fixed to work again by addressing the current FindBugs API.
Possible solutions I can think of:
- try to get the "details url template" by calling some other function.
- Map<String, String> edu.umd.cs.findbugs.BugCollection.getXmlCloudDetails() is a candidate.
- Extend the model adding Collection<BugDesignation> to Bug and populate with the most-recent Designation of each Reviewer by calling appropriate functions of Cloud.
[JENKINS-14225] Bring back BugInstance Reviews (Classifications and Comments) from Cloud in Details
Attachment | New: findbugs-plugin.patch [ 22048 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Status | Original: Reopened [ 4 ] | New: In Progress [ 3 ] |
Here is a patch of the fix that made it work for me. I used the suggested method #1 - get the "bug details url" through BugsCollection.getXmlCloudDetails()