-
Notifications
You must be signed in to change notification settings - Fork 25
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
Refactor retrievePreviousBuild and buildManifest library #396
Conversation
Signed-off-by: Zelin Hao <[email protected]>
Signed-off-by: Zelin Hao <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #396 +/- ##
============================================
+ Coverage 87.01% 87.06% +0.05%
Complexity 31 31
============================================
Files 86 87 +1
Lines 231 232 +1
Branches 12 12
============================================
+ Hits 201 202 +1
Misses 22 22
Partials 8 8 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Zelin Hao <[email protected]> (cherry picked from commit 5a9bd97) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-6.x 6.x
# Navigate to the new working tree
pushd ../.worktrees/backport-6.x
# Create a new branch
git switch --create backport/backport-396-to-6.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 5a9bd970870c3b6c4c5500cc27d5c54d56b4f818
# Push it to GitHub
git push --set-upstream origin backport/backport-396-to-6.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-6.x Then, create a pull request where the |
…project#396) Signed-off-by: Zelin Hao <[email protected]> (cherry picked from commit 5a9bd97)
@@ -8,13 +8,25 @@ | |||
*/ | |||
package jenkins.tests | |||
|
|||
import org.junit.Test | |||
import org.junit.* |
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.
Should have avoided wildcard here. junit has way too many subclasses. Please fix this in next iteration
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.
Sure thanks.
…project#396) Signed-off-by: Zelin Hao <[email protected]> (cherry picked from commit 5a9bd97) Signed-off-by: Zelin Hao <[email protected]>
…brary (#396) (#404) Signed-off-by: Zelin Hao <[email protected]>
Description
Move the latest index download to the buildManifest library.
Now if the
latest
index is not available, we would run the full build without incremental.Issues Resolved
#392
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.