Custom SonarQube Plugin to Display HTML

Hello! I’m in the process of implementing SonarQube in our system, and one of our requirements is to have a portion of our dashboard which will contain information about which of our dependencies are outdated. Since we use yarn, my plan is to use the “yarn outdated” command and the “yarn-outdated-html” package to create a visually-pleasing HTML file of outdated packages, and then somehow get that onto our SonarQube dashboard.

I looked through the existing plugins in the marketplace, but unfortunately did not find any plugin that would do consume this HTML. As a result, I decided to attempt to create my own plugin using GitHub - SonarSource/sonar-custom-plugin-example: Shows how to write a SQ plugin for LTS as a skeleton. However, it seems pretty complicated and I’m still struggling. My questions are:

  1. Are there any built-in plugins that you know of that would be useful in displaying HTML on the dashboard?
  2. Is there a better way of doing this besides creating a custom plugin?
  3. If not, can you provide me with any guidance on how I might go about creating this plugin?

Thank you!

Update: I ended up creating my own SonarQube custom plugin for this


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.