-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: Add support for gerrit changes for download Jenkins file and support custom refspec in lightweight checkout #3969
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
Open
panicking
wants to merge
16
commits into
jenkinsci:master
Choose a base branch
from
panicking:feat/add-jenkins-gerrit-change-support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
d7a63c3
feat: Add support for gerrit changes for download Jenkins file
panicking 02ec983
feat: Support custom refspec in lightweight checkout
ckullabosch a53959d
refactor: Move branch resolution logic into HeadNameResult.calculate()
ckullabosch 449bdb5
fix: Use .equals() for prefix String comparison
ckullabosch 4c4118a
fix: Add null guard on prefix before .equals() call
ckullabosch a393a86
refactor: Use Constants.FETCH_HEAD instead of hardcoded string
ckullabosch cf547a2
test: Refactor GitSCMFileSystemTest helpers for readability
MarkEWaite 57dad31
test: Add static import for HeadNameResult in tests
MarkEWaite a5d69f9
chore: Suppress spotbugs URF_UNREAD_FIELD for HeadNameResult
MarkEWaite 79c9477
style: Rename headName to calculatedHeadName for clarity
MarkEWaite 882082b
fix: Log resolved head name during lightweight checkout fetch
MarkEWaite 05c78fb
fix: Change refSpec parameter from @NonNull to @CheckForNull
MarkEWaite fefac72
test: Use HeadNameResult short name in remaining tests
MarkEWaite 97a2781
fix: Correct tag refspec to fetch tags into refs/tags/*
ckullabosch 66f2650
refactor: Remove redundant headName field from HeadNameResult
ckullabosch 4c57de2
Fix GitSCMFileSystemTest due the api change
panicking File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
I'm trying to remember if this class gets stored somewhere on disk, like the project config or pipeline context/program.
I don't think so, but if that's the case then an upgrade would break those builds currently running. That might be ok though.