Skip to content
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

Can't remove contexts #458

Open
FransUrbo opened this issue Jan 18, 2017 · 2 comments
Open

Can't remove contexts #458

FransUrbo opened this issue Jan 18, 2017 · 2 comments

Comments

@FransUrbo
Copy link

When I created the job, I didn't set any context, so "it" created the default one.

I then wanted to change that (because I was going to add more checks) to linting. That new context was added to the existing one. Meaning I then had two contexts - the old default one and the new linting one.

I then tested to add a Set GitHub Commit Status (universal). That seems to also have added a context!

So now I have THREE test context. And even though I've removed all of them (from the job, as well as restarted Jenkins AND opened a new PR), all three are still there. All linking to different job numbers in the same job.

@FransUrbo
Copy link
Author

I even tried to delete the job AND the webhook, but the context is still there! Might this be a GitHub issue?

@ericgoedtel
Copy link

This is a limitation of the API. There does not appear to be a way to remove a context. You can overwrite an existing one but not remove it.

https://developer.github.com/v3/repos/statuses/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants