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

Use full precision when comparing coverage to thresholds #71

Merged
merged 2 commits into from
Feb 25, 2016

Conversation

kscaldef
Copy link

This eliminates rounding when comparing against the configured coverage thresholds.
99.6% coverage should not pass the build if someone has required 100% coverage.

There's some argument that round() should be replaced with floor() for presentation purposes as well, but this seems like a less controversial starting point.

This eliminates rounding when comparing against the configured coverage thresholds.
99.6% coverage should not pass the build if someone has required 100% coverage.
@jenkinsadmin
Copy link
Member

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

centic9 added a commit that referenced this pull request Feb 25, 2016
Use full precision when comparing coverage to thresholds
@centic9 centic9 merged commit 7a2acfb into jenkinsci:master Feb 25, 2016
@centic9
Copy link
Member

centic9 commented Feb 25, 2016

Thanks for the PR!

@kscaldef
Copy link
Author

Any idea when a new version will be released?

@centic9
Copy link
Member

centic9 commented Mar 31, 2016

Originally I plan to wait for PR #66 to be reviewed to include it as well in the next release...

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.

3 participants