Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix successful stage detection #178

Merged
merged 1 commit into from
Oct 12, 2020
Merged

Fix successful stage detection #178

merged 1 commit into from
Oct 12, 2020

Conversation

sll552
Copy link

@sll552 sll552 commented Oct 12, 2020

While using #177 in our production instance we found a problem with the stage metrics, only aborted stages are reflected in the metrics. This happened because the stage object use a different status enum than the jobs or runs.

Changes proposed

  • Use explicit comparison for stage results with the correct enum values

Checklist

  • Includes tests covering the new functionality?
  • Ready for review
  • Follows CONTRIBUTING rules

Notify

@markyjackson-taulia

@markjacksonfishing markjacksonfishing merged commit 5dbaf65 into jenkinsci:master Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants