You will need to have installed PHP and Phing in order to use the PHP build tasks.Ĭlick Add Task, then Builder and choose the Phing task for your project: We'll add a builder task to the Bamboo plan to do that. We also want to compile the code, and run the unit and integration tests. The source code checkout taskĪ newly created plan has a default Source Code Checkout task that gets the source code from the source repository specified earlier. Optionally add an IP address for your repositoryĮach plan needs to have at least one task specified. Repository triggers the build when changes are comitted We don't have a project yet, so choose Project > New Project, and enter details for both the project and plan. Choose Create > Create a New Plan from the menu bar.Log into your Bamboo instance as a user with permissions to create plans.In this example, you create both a new project and a new plan in that project. You can add a plan to an existing project or create a new project. You use a plan to identify the source code repository, specify the tasks to run in your build, and when to trigger a build. Create a new projectĪ Bamboo plan defines the details of your continuous integration workflow. #PHP BAMBOO INSTALL#If you prefer, you may use Composer or PEAR to download and install PHPUnit along with its dependencies, however these approaches are beyond the scope of this introduction. $ phpunit -version // double check it's installed completely $ mv phpunit.phar /usr/local/bin/phpunit // copy PHPUnit into your path $ chmod +x phpunit.phar // make PHPUnit executable
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |