CloudBees action: Run a Harness pipeline

1 minute read

Use this action to trigger a Harness pipeline. Harness is a CI/CD tool.

All CloudBees action repositories are listed at CloudBees, Inc. on GitHub.

Inputs

Table 1. Input details
Input name Data type Required? Description

url

String

No

The Harness server URL. If not specified, uses https://app.harness.io.

token

String

Yes

The Harness API token.

org-name

String

Yes

The Harness pipeline organization name.

project-name

String

Yes

The Harness pipeline project name.

pipeline-name

String

Yes

The Harness pipeline name.

Usage example

In your YAML file, add:

    steps:
    - name: Run Harness pipeline
      uses: cloudbees-io/harness-run-pipeline@v1
      with:
        url: https://app.harness.io/
        token: ${{ secrets.HARNESS_TOKEN }}
        org-name: org01
        project-name: project01
        pipeline-name: pipeline001