Reputation: 34376
I'm trying to setup Jenkins and the PHP Templates to build and test a simple project. My repository currently looks like this:
/source
index.php
/tests
index.test.php
/build
build.xml
Is it correct to create a /build folder and build.xml insider the repository? do I need to check in any additional files to get the build to execute?
Upvotes: 4
Views: 1083
Reputation: 14951
It's good to include the build.xml file in your repository. You should make sure your publication process (I assume you have one) doesn't throw it in production though. You would need an bootstrap
for your tests too - I would place this inside your tests directory.
Upvotes: 2