Table of Contents

    Risk Mitigation and Best Practices

    Risks Addressed by CI

    Following CI effectively and efficiently helps reduce the following risks :

    • Lack of deployable software

    • Late discovery of defects

    • Low quality software

    • Lack of visibility on project health


    Best Practices

    To adapt CI in your project, the following are the important practices to be followed diligently :

    • Using a version control system
    • Committing code frequently to the work branch and mainline
    • Automating developer tests
    • Running private builds
    • Ensuring all the tests and inspections run successfully
    • Refraining from committing a broken build
    • Fixing broken build on priority
    • Avoiding checking out a code related to broken build
    Best Practices
    Figure: Best Practices