CircleCI-Public / jira-connect-orb

Display the status of CircleCI workflows and deployments in Jira!
https://circleci.com/orbs/registry/orb/circleci/jira
MIT License
25 stars 27 forks source link

Send intermediate statuses during multi-job workflows [semver:minor] #32

Closed eddiewebb closed 2 years ago

eddiewebb commented 4 years ago

Checklist

DO NOT MERGE BEFORE #31

Motivation, issues

Currently all jobs send a successful or failed status, which is true of the job, but not the workflow if we know subsequent jobs are about to run.

This change will inspect the workflow for downstream jobs.

Multi-job workflows will now send intermediate status instead of pass/fail

Final jobs or single-job workflows will behave as before,.

Description

Running Jobs

Screen Shot 2020-03-01 at 10 53 18 AM

Approval Jobs

Screen Shot 2020-03-01 at 10 54 00 AM

Full logic

eddiewebb commented 4 years ago

I actaully think we shoul;d go full on and add #33, it shouldnt be too hard, and result would be

mermaid-diagram-20200301193543

gmemstr commented 4 years ago

Coming back around to this on Monday, since it's a holiday in the US. @KyleTryon Going to need a hand with the failing tests.

gmemstr commented 2 years ago

Given the lack of activity on this PR, coupled with webhooks entering preview on CircleCI and the increasing complexity of the scripts powering this orb, I'm going to opt to close this PR unless someone else would like to pick it up.