jenkinsci / github-autostatus-plugin

Jenkins plugin to provide automatic status for multibranch jobs
https://plugins.jenkins.io/github-autostatus/
MIT License
52 stars 34 forks source link

Properly report the skipped status #114

Open PhotoTeeborChoka opened 2 years ago

PhotoTeeborChoka commented 2 years ago

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:

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