Continuous Integration support
By Tomas Mysik on Feb 08, 2012
Hi all, today we would like to show you another great feature we have prepared for NetBeans 7.2. It is Continuous Integration support for PHP projects.
Everyone who has plenty of tests for his/her PHP projects and needs to be sure that all the tests pass all the time, NetBeans 7.2 will try to help as much as possible. What exactly needs to be done?
NetBeans uses Template for Jenkins Jobs for PHP Projects
(created by Sebastian Bergmann, the author of PHPUnit - thanks for it,
Sebastian!) so please ensure that all the necessary plugins and tools
are installed both on your server as well as on your local computer -
detailed instactions can be found on the project website.
Now, verify that everything is configured properly (in Tools > Options > PHP > Hudson):
Now it is time to create a new build job for your project (the project must be versioned) right from your NetBeans:
You can specify areas you are interested in:
If everything goes well, the job is created on your CI server so you can run it:
After the job finishes, NetBeans will show you the status of the job (success in our case). Also, you can easily open the job web page in your browser:
The job web page can look similarly to this one: