Jenkins Performance trend report export - performance

I want to export the performance trend report from Jenkins and share it using HTML format. Is there any way to export the performance trend report from Jenkins?

You can use export plugin like this one: https://wiki.jenkins.io/display/JENKINS/Export+Report
or you can locate the json or xml file that gets generated and write your own script to publish in HTML format.

Related

In Atlassian Bamboo, is there any way to export build results to Excel sheet or at least as CSV?

In Atlassian Bamboo, is there any way to export the daily E2E test runs from bamboo to excel sheet, so that I can monitor my project status.
I'm also looking for any other better solution if the above is not possible.
Thanks
Pulling bamboo RSS feed into excel is one option.
1- Bamboo RSS feeds
2- Show RSS Feeds in Excel

Exporting Jacoco*.exec files to Sonar without Maven or ANT or Jenkins

I don't know if this has been asked before; from a quick search I couldn't find anything relevant, but please do forgive me if I've missed it.
My question is we need to send the jacoco.exec output file to Sonar without using any other tool like Jenkins etc.
Below are the steps we did to configure Jenkins & Sonar
Jacoco agent code is setup and injected into our Application server (with WAS Console)
SonarQube is installed and configured in another server
When we perform manual execution on the application, jacoco is generating a Jacoco*.exec output files (File is in binary format)
Our challenge is how do we send this output file to Sonar, such that it reads and generates reports in a readable format?
PS. When integrated this with Jenkins and Maven, we are able to export this report to Sonar and see the reports properly. But, without using Jenkins and Maven, is there a way to export the Jacoco.exec file to Sonar and generate the reports??
Hope I am clear with my question. Please respond if any part of the question is not clear.
Thanks in advance for ur help!!

getting trouble to generate sonar test report

I am using sonarqube on my windows server, and it is working find from my client PCs, now I need to generation sonar test report in form of file, pdf, html or in any format to display it to my client. I tried but am not getting any solution, would you please help me, that how to export sonar test report from sonarqube server.
You're not finding that "report export" feature because SonarQube is about continually monitoring the evolution of your code, not printing out a point in time and pinning it to the wall.
If you really have to have something like this, then screenshots are the easiest way to go. Alternately, you can pull current state data using web services and build your own report.

sonar 4.3: How to push xml output to sonar dashboard

We have written on tool to do some certain quality check on code. Now we want to integrate that tool to sonar and push the result on sonar dashboard.
Just wanted to know how to do it. Let's say my tool output is in xml format.
You may want to have a look at the Sonar .NET Tests library as a reference. It imports generated coverage reports in XML format into SonarQube. A possible starting point is this class:
https://github.com/SonarCommunity/sonar-dotnet-tests-library/blob/master/src/main/java/org/sonar/plugins/dotnet/tests/CoverageAggregator.java

Is there a Sonar API to get line level coverage for a given resource?

I am running clover before running the sonar ant task and providing its xml output to Sonar 3.7.
Is it possible to later fetch the line level coverage data for a given Java file using one of the Sonar webservice API's?
If not, is there a library that I can use to get the same info from clover xml without writing all the parsing code?
Well if you need a complete report to line level granularity.
You should go for html reports of Clover.
They provide details from the highest level such as project and packages to lowest level of details like complexity of each package or source file, method coverage, line coverage etc. (If proper attributes are specified)
Many of the above specified things are provided in XML report as well but HTML generated by Clover is very interactive and fancy. You can actually see all the source files in that report and figure out the parts which were covered in the file.
As you already have the xml report generation target, you can add html report task as well into it.
Hope this helps. :)

Resources