How to setup C++ continous build on Hudson / Jenkins
I would like to Hudson/Jenkins for our C++ builds for Continuous integration. We are using CMake for make files and subversion for soruce control.
Can you please let me know the steps to setup C++ 开发者_高级运维builds on Hudson (may be using the sample project)
Thanks, Sri
- Create the project in Jenkins
- Add a Subversion SCM, add the repository url
- Create the schedule ( try with a
* * * * *
for first try) - Add a new step for the build (shell script) that will launch the compilation
- If you have tests, add a new step (shell script) that will launch the tests
- List files or directories (artifacts) to archive
- Save project
- Launch it
If it fails somewhere, check console output and correct the failing step.
精彩评论