Drupal and Checkstyle

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by davad on May 31, 2011 at 5:40pm

I'm working on integrating Jenkins with my development workflow, and I want to use Jenkin's checkstyle plugin to make sure my code follows drupal's coding standards. Is there a checkstyle configuration out there already for drupal's coding standards?

Categories: ,

Comments

Interested in it too

Posted by merono on June 10, 2011 at 12:09pm

I'm interested in integrating jenkins in my workflow too.
Besides I want to have eclipse auto-completion for drupal hooks in eclipse.
I'm looking forward for this topic to grow.

I haven't found a checkstyle

Posted by davad on June 10, 2011 at 4:59pm

I haven't found a checkstyle config, but I found this patch that lets drush run the coder module and output checkstyle xml format, which jenkins should be able to parse.

I also found this patch that similarly outputs junit xml form for simpletest, which jenkins can parse.

Some links documenting what other people have done to automate deployment using Jenkins:

AltStyle によって変換されたページ (->オリジナル) /