Essentially this is a redirect to the url of the sonar dashboard for the specified project. This file can be created by a separate task. Alternately, we can add this file to the project repository, say in “src/main/config”
Assuming the later, add this file as an artifact to the “quality” stage.
We have asked Go to copy the file “sonar.html” from the system (Go Agent) that runs the job to the Go server.
Now add a custom ta
This tells Go add a new tab for the “quality” stage to display the sonar dashboard. We are telling Go to open the page sonar.html, which will redirect to the Sonar dashboard thanks to the meta refresh that we have therein.
We can now drill down into the sonar dashboard from within Go.
Disclaimer: The statements and opinions expressed in this article are those of the author(s) and do not necessarily reflect the positions of Thoughtworks.
Thoughtworks acknowledges the Traditional Owners of the land where we work and live, and their continued connection to Country. We pay our respects to Elders past and present. Aboriginal and Torres Strait Islander peoples were the world's first scientists, technologists, engineers and mathematicians. We celebrate the stories, culture and traditions of Aboriginal and Torres Strait Islander Elders of all communities who also work and live on this land.
As a company, we invite Thoughtworkers to be actively engaged in advancing reconciliation and strengthen their solidarity with the First Peoples of Australia. Since 2019, we have been working with Reconciliation Australia to formalize our commitment and take meaningful action to advance reconciliation. We invite you to review our Reconciliation Action Plan.