I'm attempting to use a custom template for a SonarQube report in an Azure DevOps pipeline. However, instead of generating a SonarQube report with my template applied, the pipeline is producing a document that's just a copy of the template file. I'm using SonarQube 9 with sonar-cnes-report 4.2.
I'm attempting to use a custom template for a SonarQube report in an Azure DevOps pipeline. However, instead of generating a SonarQube report with my template applied, the pipeline is producing a document that's just a copy of the template file. I'm using SonarQube 9 with sonar-cnes-report 4.2.
Here is the script,
java -jar $(Build.SourcesDirectory)\sonar-cnes-report\target\sonar-cnes-report-$(CnesVersion).jar -s $(sonarServerURL) -t $(sonarToken) -p $(sonarProjectKey) -r $(configRoot)/templates.docx -o $(Build.ArtifactStagingDirectory)\Sonar-reports