The IDE supports creating and starting build jobs using the Hudson build server. Hudson's usefulness for PHP projects is that it allows PHPUnit tests to be performed automatically according to a schedule.
For more information about setting up and using a Hudson build server, see the following documents.
The Jenkins build server should also work with the IDE, though this is not as well tested.
Hudson is usually run on a remote machine. This section contains information for the administrator of the Hudson or Jenkins host machine.
In order for Hudson (or Jenkins) to be used with PHP and to provide test results, the Hudson or Jenkins server should be set up with the plugins described on the web page. (Hudson has equivalent plugins.) The host machine for the Hudson or Jenkins server should also have PHP and PEAR installed with the PHP plugins listed on the Template for Jenkins Jobs for PHP page.
After you add a Hudson instance, a node for the instance is added below the Hudson Builders node. You can expand the node to view the status of builds on that instance.
For a PHP project to build on Hudson, the project must have the following set up:
You also need to have PhpProject Wizard (PPW) installed on your local machine. Use PEAR to install PPW. See the page.
To set PHP options, open Tools > Options > PHP (NetBeans Preferences > PHP on Mac) and go to the Hudson tab.
Setting Up a New Build Job.
The build server will use the sources in the project's repository.
After you supply the details for the build, you can start the build process on the server by right-clicking the build that you want to start and choosing Start Job. When a job is building, the node for the job is displayed as running. You can expand the node for the job to view past builds and build artifacts.
For details about using PHP with a continuous integration server, see the following NetBeansPHP blog entry.