background preloader

Hudson/jenkins

Facebook Twitter

5+1 Sonar Plugins you must not miss. This post is a revision of the original post, published last year and it covered Sonar version 2.8.

5+1 Sonar Plugins you must not miss

Many months has passed and during this period the Sonar Team released four(4) new versions of the ultimate quality platform. The latest version ( 2.12 ) now includes JaCoCo in its core implementation and the existing plugin is now deprecated. Since I have included JaCoCo plugin in my previous post in top Sonar plugins I think it’s time to remove it and refine my list. So here is the 5+1 Sonar Plugins you must not miss for 2012!! I would like to clarify though some exceptions I have made prior to my final choice. Additional MetricsGovernanceIntegrationVisualization / Reporting Sonar itself comes with a variety of features that cover most of the needs of a software development team. 1.Hudson / Jenkins plugin Although Sonar analysis can be easily triggered from several build tools (maven, ant etc.) 2.Timeline Plugin (2012 new entry) 3.Useless Code Plugin 4.SIG Maintainability Model Plugin. MilamberSpace » Blog Archive » Intégration d’un test JMeter dans Hudson avec le plugin Hudson Performance.

Hudson est une plate-forme d’intégration continue, JMeter est un outil de test de charge et aussi de tests fonctionnels (on a tendance à l’oublier, mais pour faire du test de charge, il faut savoir faire du test fonctionnel).

MilamberSpace » Blog Archive » Intégration d’un test JMeter dans Hudson avec le plugin Hudson Performance

Que diriez vous d’intégrer dans Hudson l’exécution d’un test (de charge) JMeter, et d’avoir un beau graphique pour voir l’évolution des temps de réponses de votre application en fonction des ‘builds’ Hudson / versions de votre application ? La réponse à cette question est l’objet de ce tutoriel. Les pré-requis : On va créer une nouvelle tâche dans Hudson (New Job). On saisit un nom de tâche, puis on sélectionne l’option « Build a free-style software project » avant de clique sur le bouton OK. Dans le formulaire de configuration de la tâche, dans la section Build on choisit l’invocation d’un script Ant.

Dans la configuration de l’invocation de Ant, on saisit la cible « all », et on ajoute dans les propriétés : Ensuite on procède à la décompression de l’archive : Violations. Plugin Information This plug-in generates reports static code violation detectors such as checkstyle, pmd, cpd, findbugs, fxcop, stylecop and simian.

Violations

Note: Since version 0.6.0 the violations plugin works with the hudson maven2 project type.. The violations plug-in scans for violation xml files of particular types in the build workspace, gathers the violations and reports on the numbers for each type. The currently supported types are: Note: the following snapshots are from version 0.4, version 0.7 is similar (with pylint, fxcop, stylecop, simian and gendarme added). Configuration should be easy, First you need to have activate the static code analysizers in your build. The fields are: After configuration, the Violations plugin will collect violations from the next build. The project page is modified to add a violation icon ( ) and a violation trend graph: Clicking on the violations link brings one to the current violations report. The start of the violations report page looks like this: .