-
Notifications
You must be signed in to change notification settings - Fork 31
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
[JENKINS-72015] Make reference build computation more flexible #519
Conversation
*/ | ||
public Optional<Delta> calculateDelta(final Run<?, ?> build, final Run<?, ?> referenceBuild, | ||
final FilteredLog logger) { | ||
return calculateDelta(build, referenceBuild, StringUtils.EMPTY, logger); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #519 +/- ##
============================================
+ Coverage 71.58% 72.35% +0.76%
- Complexity 386 398 +12
============================================
Files 48 48
Lines 1172 1219 +47
Branches 102 108 +6
============================================
+ Hits 839 882 +43
- Misses 298 302 +4
Partials 35 35 ☔ View full report in Codecov by Sentry. |
import static io.jenkins.plugins.forensics.assertions.Assertions.*; | ||
import static org.mockito.Mockito.*; | ||
|
||
class SimpleReferenceRecorderTest { |
Check notice
Code scanning / CodeQL
Unused classes and interfaces
# Conflicts: # pom.xml
# Conflicts: # pom.xml
# Conflicts: # pom.xml
Add new property
requiredResult
for reference jobs.When a reference build is searched for in the baseline (see the parameter reference job) then it
sometimes makes sense to only consider builds that have a certain result. For example, you may want to skip the computation of a delta coverage when the reference build has failed tests. Or you may want to skip the computation of new warnings when the reference build has a compilation error.
See also: