bitHound Blog

Configure bitHound CI Integration with CodeShip

Step 1

Make sure you have webhooks turned on. To enable webhooks for your repository, go to its Settings > Automatic Commit Analysis and Enable webhooks. Please note that only users with administrator permissions for the repository on GitHub or Bitbucket can manage webhooks in bitHound.

Step 2

Enable Failing Criteria and set your failing triggers.

Step 3

Before you continue, be sure to npm install the bithound package into your project. Also take note of the command you'll need to run from your CI.

Note: If your project is private, your command may look like this bithound check 22be1601-d4f5-22f4-8gf7-54f621c73428

Step 4

On Codeship, create a new project and select the repository you would like to configure.

Step 5

Find the configure test pipelines section and paste your command into the terminal.

Step 6

Save your settings to complete the integration.

Note: If you're using a CI other than Codeship. Your CI should provide instructions on how it should be properly configured with the key that bitHound provides.

bitHound identifies risks and priorities in your Node.js projects.