jenkinsci / jenkinsci/github-autostatus-plugin

Properly report the skipped status

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
58
Forks
38
PR merge metrics
No merged PRs in 30d

Description

### What feature do you want to see added?

Thank you for this amazing plugin.

## Basic info
version: `github-autostatus:3.6.2`

## Problem
Originally the plugin labeled skipped jobs as `stage built successfully` (as evidenced by the now likely obsolete issue #101 ). Currently the plugin does not notify about the jobs once skipped, resulting in `Building stage` with yellow dot. The current state is not viable for different reasons:
- if improperly set in Github, permanently "active" job that never ends blocks CI
- the message imparted on Github user is in contrast with the real state of the CI
- the Github perceived state of CI is incorrect (e.g. as evidenced by the issues #105)

## Suggested change
1. report the stage of skipped jobs as skipped in Github
2. mark the skipped jobs as passed in Github
3. Order the reported jobs in the same manner as they are ordered in the pipeline

### Upstream changes

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.