Jenkins/Phing for symfony 1.x (Works with Hudson)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.markdown
build.xml

README.markdown

Jenkins/Phing for symfony 1.x

This is a Phing build.xml for the symfony 1.x framework designed to be used with Hudson/Jenkins.

Usage

  • Copy the build.xml script in your project root directory.

  • In Jenkins, add a build step like:

Invoke Phing targets:

Targets: main

Properties: projectName=MY_PROJECT_NAME

Or Execute a shell script:

cd $WORKSPACE && phing main -DprojectName=$JOB_NAME
  • Now, you can customize each fileset to fit your needs :-)

Warning

To use the phploc target, you have to install the PHPLoc Phing task. Just copy the PHPLocTask.php file somewhere like /usr/share/php/phing/tasks/my/ (create the my directory if needed).

TIPS

I recommand you to use the amazing phpDocumentor theme JEvolve.

To use it, just change the ouput parameter of the phpdoc task like the code below:

output="HTML:Smarty/JEvolve:default"

William.