How to re-analyze complete history of a project using Sonar?
-
I would like to load the entire project history since its inception into Sonar. I would basically want to execute code like this: 0) checkout version 1 from Subversion 1) checkout next version from Subversion 2) if the commit date is from the same day as the previous one - goto 1 3) run mvn sonar:sonar, overriding the build time with the time of the commit 4) if not on last commit - goto 1 Is there a tool that does this already? Is there a way of convincing Sonar to use a different date than the current one?
-
Answer:
This is from the Mailing Lists: Indeed, to import historical data you must use the "sonar.projectDate" property (Format is yyyy-MM-dd, for example 2010-12-25) [1] and launch a Sonar analysis on each tag/branch that you'd like to see in your project history. http://old.nabble.com/re-ordering-historical-data-td31049175.html
Roman Zenka at Stack Overflow Visit the source
Related Q & A:
- How to design and organize a project?Best solution by Project Management
- How do I generate documentation for a project?Best solution by Stack Overflow
- How do I clean Yahoo history with a Mac?Best solution by Yahoo! Answers
- How do you analyze a quote?Best solution by Yahoo! Answers
- How do I find call history for a Virgin mobile phone?Best solution by answers.yahoo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.