-
Notifications
You must be signed in to change notification settings - Fork 736
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
GHE returning 404 when trying to fetch reference file for master branch #844
Comments
@bitwiseman I tried to file an issue with the Jenkins plugin (https://github.com/jenkinsci/github-branch-source-plugin) as well, but don't see the |
@suryatej16 I'll update shortly. |
Waiting for repo's to update to publish the plugin. |
was very confused until i found this issue. thanks to all. |
Describe the bug
Due to the change introduced in #822, GHE v2.18 will return a
404
when you attempt to accessapi/v3/repos/:org/:repo/git/ref/heads/master
instead ofapi/v3/repos/:org/:repo/git/refs/heads/master
. This is causing the Jenkins Github Branch Source plugin to throw the following stacktrace:To Reproduce
Steps to reproduce the behavior:
curl -X GET https://<host>/api/v3/repos/:org/:repo/git/ref/heads/master
against GHE v.2.18 and you'll get a404
in responseExpected behavior
Should return the ref for master branch.
Desktop (please complete the following information):
Jenkins Github Branch Source plugin 2.8.0
GHE 2.18
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: