A template for Symfony2 on Jenkins. Based on Sebastian Bergmann's template
Pull request Compare This branch is 3 commits ahead, 2 commits behind xurumelous:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
jenkins
README.md
build.xml
config.xml
nextBuildNumber
phpunit.xml

README.md

Symfony2.1 Jenkins Template

Based on xurumelous' template: https://github.com/xurumelous/symfony2-jenkins-template

Installation

Follow the installation steps from Jenkins PHP for installing needed deendencies (ignore the xml files from there) and follow with these particular steps:

  1. Clone this repository: git clone git@github.com:alex88/symfony2.1-jenkins-template.git

  2. Move the jenkins folder to [SYMFONY2_ROOT]/app/Resources/ inside your Symfony2 project.

  3. Move build.xml to the root folder of your Symfony2 application.

  4. Move phpunit.xml to [SYMFONY2_ROOT]/app folder or update the existing one. The logging node is needed!

  5. Add th symfony2-coding-standards in your phpcs naming it as Symfony2 or edit the phpcs target on build.xml with the right parameters for your envirement.

You can customize the configuration as you want, this works fine with me :)