-
Notifications
You must be signed in to change notification settings - Fork 27
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
Extended delta API #440
Extended delta API #440
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry that I did not spot this problem before...
That means forensics-api need another change:
public Optional<Delta> calculateDelta(final Run<?, ?> build, final Run<?, ?> referenceBuild,
final String scmKeyFilter, final FilteredLog logger) {
Do we need the other methods still in the API? Then we can remove them and ignore the errors in RevAPI.
plugin/src/main/java/io/jenkins/plugins/forensics/git/delta/GitDeltaCalculator.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #440 +/- ##
============================================
+ Coverage 81.94% 81.97% +0.03%
- Complexity 194 196 +2
============================================
Files 26 26
Lines 781 788 +7
Branches 82 83 +1
============================================
+ Hits 640 646 +6
Misses 110 110
- Partials 31 32 +1
Continue to review full report at Codecov.
|
I implemented the new delta extension of the Forensics API Plugin for Git. The code delta can now be calculated between two Jenkins builds.