# checkMainPipelineStatus

The step only produces result for pull request organizational jobs. It checks the latest build status for the master branch pipeline if it exists.

## Parameters

| Name       | Description                                       | Type        | Default        | Required |
| ---------- | ------------------------------------------------- | ----------- | -------------- | -------- |
| jobName    | Name of the job to check main pipeline status for | `String`    | `env.JOB_NAME` | no       |
| mainBranch | Main branch name                                  | `String`    | master         | no       |
