Skip to content

Log an error message when Git repositories are checked out with shallow clone#1265

Merged
uhafner merged 2 commits into
jenkinsci:mainfrom
akash-manna-sky:JENKINS-74921
Jun 29, 2026
Merged

Log an error message when Git repositories are checked out with shallow clone#1265
uhafner merged 2 commits into
jenkinsci:mainfrom
akash-manna-sky:JENKINS-74921

Conversation

@akash-manna-sky

Copy link
Copy Markdown
Contributor

discoverGitReferenceBuild always reports "no reference build found"

Fixes #1178

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@akash-manna-sky akash-manna-sky marked this pull request as ready for review June 27, 2026 19:26
@uhafner uhafner added the bug Bugs or performance problems label Jun 29, 2026
@uhafner uhafner changed the title discoverGitReferenceBuild always reports "no reference build found" Log an error message when Git repositories are checked out with shallow clone Jun 29, 2026

@uhafner uhafner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

@uhafner uhafner merged commit 46d45e2 into jenkinsci:main Jun 29, 2026
30 of 32 checks passed
@akash-manna-sky akash-manna-sky deleted the JENKINS-74921 branch June 29, 2026 16:58
@akash-manna-sky

Copy link
Copy Markdown
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bugs or performance problems

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[JENKINS-74921] discoverGitReferenceBuild always reports "no reference build found"

2 participants