LogoLogo
Sign inVisit bito.aiVideo Library
  • 👋Welcome to Bito Academy
  • 🆕Getting Started
    • Quick Overview
    • Installing on Visual Studio Code
    • Installing on JetBrain IDEs
    • Installing Chrome Extension
    • Vim/Neovim Plugin
    • Creating a Bito Account
    • Upgrading Bito Plugin
    • Bito AI Examples
  • 🛡️Privacy & Security
  • 🤖Bito Dev Agents
    • AI Code Review Agent
      • Key Features
      • Supported Programming Languages and Tools
      • Getting Started
        • Install/run Using Bito Cloud
          • Guide for GitHub
          • Guide for GitHub (Self-Managed)
          • Guide for GitLab
          • Guide for GitLab (Self-Managed)
          • Guide for Bitbucket
          • Integrate the AI Code Review Agent into the CI/CD pipeline
          • Create or customize an Agent instance
          • Clone an Agent instance
          • Delete unused Agent instances
        • Install/run as a self-hosted service
          • Prerequisites
          • CLI vs webhooks service
          • Install/run via CLI
          • Install/run via webhooks service
          • Install/run via GitHub Actions
          • Agent Configuration: bito-cra.properties File
      • Available Commands
      • Chat with AI Code Review Agent
      • Implementing custom code review rules
      • Excluding Files, Folders, or Branches with Filters
      • Code Review Analytics
      • FAQs
    • Wingman Coding Agent
      • Key features
      • Supported tools
      • Getting started
  • 🎯Feature Guides
    • AI Chat in Bito
      • Keyboard Shortcuts
      • Chat Session History
      • Share Chat Session
      • Appearance Settings
      • Open Bito in a new tab or window
    • AI that Understands Your Code
      • Overview
      • How it Works?
      • Available Keywords
      • Example Questions
      • How does Bito Understand My Code?
      • Using in Visual Studio Code
      • Using in JetBrains IDEs
      • Managing Index Size
      • FAQs
    • AI Code Completions
      • Overview
      • How it Works?
      • Enable/Disable Settings
      • Accept/Reject Suggestions
      • Keyboard Shortcuts
      • Supported Programming Languages
      • Use Cases and Examples
    • Basic/Advanced AI Models
    • Bito CLI
      • Overview
      • Install or Uninstall
      • Configuration
      • How to Use?
      • Available Commands
      • FAQs
  • 🔖Templates
    • Standard Templates
    • Custom Prompt Templates
    • Diff View
  • 🧠Bito's AI Stack
    • Embeddings
    • Vector Databases
    • Indexing
    • Generative AI
    • Large Language Models (LLM)
    • LLM Tokens
    • LLM Parameters
    • Retrieval Augmented Generation (RAG)
    • Prompts
    • Prompt Engineering
  • 👥Account & Settings
    • Workspace
    • Managing Workspace Members
    • Setting AI Output Language
    • Managing User Access Levels
    • Access Key
  • 💳Billing and Plans
    • Overview
    • Payment Methods
    • Managing Workspace Plan
    • Pay for Additional Workspace Members
    • Advanced AI Requests Usage
    • Billing History
    • Billing Details
    • Security
    • Refund Policy
    • Discounts
  • ⚒️Support & Questions
    • Getting Support
    • Troubleshooting
    • Is it GPT-4?
  • 🆕What's New
  • External Links
    • Git
    • Github Issues
    • Github Discussions
    • Bito.ai
    • VS Code Marketplace
    • JetBrain Marketplace
Powered by GitBook
LogoLogo

Bito Inc. (c) 2025

On this page

Was this helpful?

Export as PDF
  1. Bito Dev Agents
  2. AI Code Review Agent
  3. Getting Started
  4. Install/run Using Bito Cloud

Integrate the AI Code Review Agent into the CI/CD pipeline

Automate code reviews in your Continuous Integration/Continuous Deployment (CI/CD) pipeline—compatible with all CI/CD tools, including Jenkins, Argo CD, GitLab CI/CD, and more.

PreviousGuide for BitbucketNextCreate or customize an Agent instance

Last updated 1 month ago

Was this helpful?

lets you integrate the into your CI/CD pipeline for automated code reviews. This document provides a step-by-step guide to help you configure and run the script successfully.

Installation and Configuration Steps

  1. based on your Git provider, and follow the step-by-step instructions to install the AI Code Review Agent using Bito Cloud. Be sure to review the prerequisites and the installation/configuration steps provided in the documentation.

  2. , which includes a shell script (bito-actions.sh) and a configuration file (bito_action.properties).

  3. You can integrate the AI Code Review Agent into your CI/CD pipeline in two ways, depending on your preference:

  • Option 1: Using the bito_action.properties File

    • Configure the following properties in the bito_action.properties file located in the downloaded bito-action-script folder.

Property Name
Description

agent_instance_url

The URL of the Agent instance provided after configuring the AI Code Review Agent with Bito Cloud.

agent_instance_secret

The secret key for the Agent instance obtained after configuring the AI Code Review Agent with Bito Cloud.

pr_url

URL of your pull request on GitLab, GitHub, or BitBucket.

  • Run the following command:

    • ./bito_actions.sh bito_action.properties

    • Note: When using the properties file, make sure to provide all the three parameters in .properties file

  • Option 2: Using Runtime Values

    • Provide all necessary values directly on the command line:

      • ./bito_actions.sh agent_instance_url=<agent_instance_url> agent_instance_secret=<secret> pr_url=<pr_url>

      • Replace <agent_instance_url>, <secret>, and <pr_url> with your specific values.

    • Note: You can also override the values given in the .properties file or provide values that are not included in the file. For example, you can configure agent_instance_url and agent_instance_secret in the bito_action.properties file, and only pass pr_url on the command line during runtime.

      • ./bito_actions.sh bito_action.properties pr_url=<pr_url>

      • Replace <pr_url> with your specific values.

  1. Incorporate the AI Code Review Agent into your CI/CD pipeline by adding the appropriate commands to your build or deployment scripts. This integration will automatically trigger code reviews as part of the pipeline, enhancing your development workflow by enforcing code quality checks with every change.

🤖
Bito Cloud
AI Code Review Agent
Download the bito-action-script folder from GitHub
Select the appropriate Git provider guide from this link