Skip to content

fix(ci/status): adding list of external jobs

Paulo Oliveira requested to merge github/fork/pvoliveira/trunk into trunk

Description

I use GitLab on my work but the CI is not configured in the GitLab, the status/link is attached to the commit, so when using the command glab ci status I got this error:

Screenshot 2021-06-05 at 22 42 50

This pull request adds one more verification and when no job is found for the pipeline, it tries to list the commit statuses.

Related Issue

Resolves #751 (closed)

How Has This Been Tested?

The tests were made on a local instance of GitLab.

Screenshots (if appropriate):

Screenshot 2021-06-06 at 01 29 34

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports