user479911
user479911

Reputation:

Deployment of PHP project with Hudson/Jenkins

Currently I deploy my PHP project using Subversion checkout on the target machine. I use Hudson/Jenkins for testing and code analysis purposes, but can and should it be used for deployment? If so, how?

Upvotes: 10

Views: 11027

Answers (3)

xzyfer
xzyfer

Reputation: 14135

We use it for all the above where I work. I've briefly described the process here. You can Google "Hudson template" or "Jenkins template" for a boilerplate to doing so.

Upvotes: 5

Tyrael
Tyrael

Reputation: 154

you should check out the build pipeline plugin: https://wiki.jenkins-ci.org/display/JENKINS/Build+Pipeline+Plugin you can set up your own qa workflow with that.

Upvotes: 1

Marcus Barnes
Marcus Barnes

Reputation: 11

I'm currently researching Jenkins for use with PHP-based projects, but have yet to use it in an actual deployment situation. Chapter 12 of Jenkins: The Definitive Guide by John Ferguson Smart covers implementing automated and continuous deployment. This chapter should give you some ideas. You can download the guide for 'free' from

http://www.wakaleo.com/books/jenkins-the-definitive-guide

...provided you're willing to fill out your details in the download form.

Also, Sebastian Bergmann (the creator of the php-template for Jenkins) has authored a book entitled Integrate Your PHP Project with Jenkins which is supposed to be published in August, 2011 by O'Reilly Media. I don't know the exact contents of the book, but let's hope it provides good examples of how to use Jenkins for deploying applications built using PHP.

Upvotes: 1

Related Questions