github-integration-plugin icon indicating copy to clipboard operation
github-integration-plugin copied to clipboard

No credentials with Admin Access

Open alex067 opened this issue 6 years ago • 4 comments

Hey guys,

I'm implementing web hooks, however the error I receive is that there are no credentials with admin access to manage hooks. The host, repo and username are all correct in the error message.

Under the config, when I click "Test Connection" on my personal token assigned to the github server credential, it verifies the user just fine.

Manage hooks is checked, and the token assigned to this credential actually has all privileges enabled, just to make sure it isn't a privilege issue.

I followed the troubleshooting steps from https://support.cloudbees.com/hc/en-us/articles/224543927-GitHub-Integration-Webhooks, however the issue persists.

I'm just not sure why the test connection works fine, but the actual hook is saying theres invalid privileges

alex067 avatar Oct 22 '19 21:10 alex067

Do you have trailing slash in github url in job settings?

KostyaSha avatar Oct 22 '19 21:10 KostyaSha

@KostyaSha For the repository URL in the job settings? If so, no trailing slash there

alex067 avatar Oct 22 '19 21:10 alex067

Same issue here. Any solution?

svadlama avatar Apr 21 '20 22:04 svadlama

The issue in my case was that, my jenkins instance was hosted on a private network via a docker container.

The solution was to have https://github.com/probot/smee.io basically act as a middle man between git and my jenkins container

alex067 avatar Apr 23 '20 18:04 alex067