Build Breaker and Preview Analysis

434 views
Skip to first unread message

CSchulz

unread,
Jun 5, 2015, 4:18:54 AM6/5/15
to sona...@googlegroups.com
Hello everyone,

I have read the support for the build breaker with the preview analysis is removed.
What is the alternative to this?
This feature is a real good idea to use SonarQube as central rule administration.

I want to remove all maven plugins regarding checkstyle, pmd and so on. With 5.0
the ultimate solution was the build breaker with preview analysis in Jenkins.

Best Regards,

Fabrice Bellingard

unread,
Jun 8, 2015, 4:14:46 AM6/8/15
to CSchulz, sona...@googlegroups.com
Hi Christian,

Yes, the idea is to replace the build breaker plugin by native features in SQ.

Can you elaborate on this use case: "I want to remove all maven plugins regarding checkstyle, pmd and so on." ?


Best regards,

Fabrice BELLINGARD | SonarSource
SonarQube Platform Product Manager
http://sonarsource.com

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/610a4393-2804-4136-bfce-047e74c00e04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

CSchulz

unread,
Aug 6, 2015, 3:45:58 AM8/6/15
to SonarQube, christia...@ewetel.net
Hello Fabrice,

sorry for my late response.

At the moment I have a maven project containing the execution of different plugins like maven-checkstyle-plugin and similar.
I want to replace them all with SQ based features like analysis each build on the build server and so on. To be clear the analysis of each build/commit should be just an "offline" one. It should only determine if there is a treshold reached and report them back to a file which can be loaded by jenkins or similar.

The background is very easy, I want one place to manage all configuration. At the moment I have SQ profiles and some files for each analysis tool.

The ideal integration would something like that:
- Maven Plugin which does the analysis for Checkstyle, PMD, Findbugs etc with SQ configuration
-- Support for offline mode (if SQ isn't reachable or you are on travel), so cache the rules from SQ
-- Support for preview analysis to see new violations in comparison to the daily real analysis (which is stored in the database)
- Jenkins Plugin which can read the report file and show it similar to the checkstyle, pmd, findbugs, etc plugins

I hope you can understand what I mean.

Fabrice Bellingard

unread,
Aug 6, 2015, 3:54:15 AM8/6/15
to CSchulz, SonarQube
Hi Christian,

I better understand, and the good news is that we had currently going into this direction. In 2 words: we are going to provide a new "issues" mode (for analysis) that will be super-fast and rely on local caches as often as possible (to speed up analysis but also to be able to work offline), and we'll be updating the "preview" mode that will give you the status of the quality gate if your local code changes was to be pushed to the source code repository.

I think this will meet all your requirements :)


Best regards,

Fabrice BELLINGARD | SonarSource
SonarQube Platform Product Manager
http://sonarsource.com

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.

CSchulz

unread,
May 2, 2016, 4:56:22 AM5/2/16
to SonarQube
Hello Fabrice,

but it seems that these functionalities got removed in more recent versions, right?

Fabrice Bellingard

unread,
May 2, 2016, 10:06:11 AM5/2/16
to CSchulz, SonarQube
Hi Christian,

very old thread, lots of things happened since then :)

Just to sum up:

Best regards,

Fabrice BELLINGARD | SonarSource
SonarQube Platform Product Manager
http://sonarsource.com

Reply all
Reply to author
Forward
0 new messages