For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Started with Harness CI

A self-service onboarding guide for Harness CI.

Welcome to the Harness CI onboarding guide. Discover how Harness accelerates software builds, enhances developer productivity, and streamlines CI processes with intelligence features, AI-driven insights, and hyper-optimized build infrastructure.

This guide will help you quickly get started with Harness CI, from setup to running your first build.

Prerequisites

Before beginning the walkthroughs in this guide, ensure you have:

Create your first Harness CI pipeline

This getting started guide will walk you through setting up a build pipeline for the first time.

Create your first CI Pipeline

Create a pipeline

  1. Click the module selector in the top left and navigate to the Continuous Integration module.

  2. Click Pipelines

  3. Click + Create a Pipeline.

  4. Enter the name of your pipeline.

  5. Click Start.

Add and configure a CI stage

  1. Click Add Stage.

  2. Select Build as your stage type and name your stage.

  3. Select your git provider. If you choose you a third party provider, you will need to set up a connector. Refer to the connectors' documentation

  4. Select your code repository.

  5. Click Set up Stage.

Choose your infrastructure

In your CI stage:

  1. Click the Infrastructure tab.

  2. Choose Cloud.

  3. Leave the default options for the operating system and architecture.

  4. Click Continue.

Create your execution steps

In your CI stage:

  1. Click the Execution tab.

  2. Click the plus button to add a step.

  3. Find and select the Run step from the step library.

  4. Name your run step.

  5. Enter your build command. For example:

  6. Click Apply Changes.

  7. Click Save.

Run your pipeline

In your pipeline:

  1. Click Run.

  2. Select Git Branch as your build type.

  3. Enter your branch name.

  4. Click Run Pipeline.

Congratulations on running your first CI pipeline!


Next Steps

Explore the documentation to learn what your Harness CI pipelines can do.

Last updated

Was this helpful?