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

SCM webhooks throws "Not found" error under certain circumstances #2062

Closed
gganapathyvzm opened this issue Apr 8, 2020 · 1 comment
Closed
Labels

Comments

@gganapathyvzm
Copy link

gganapathyvzm commented Apr 8, 2020

What happened:
Clicking on SCM webhooks sync throws - "Not found" error

What you expected to happen:
The git repo configured for the pipeline is updated with the webhook

How to reproduce it:
Let's say we have a repo named - org/repo.

  • A user forks the repo to say - user/repo
  • Creates a SD pipeline for the forked repo
  • Completes coding and testing the pipeline, merges his/her changes to the main repo and updates the pipeline to use the original repo - org/repo

Now, the original repo - org/repo doesn't have the required webhooks. If the user navigates to the pipeline's options and tries to sync the SCM webhooks, an error - "Not found" is displayed.

Things to consider -
The forked repo - user/repo still exists and hasn't been delete/re-created
The main repo - org/repo wasn't deleted/re-created.

Sync works for pipeline and pull-request options. It only fails for SCM webhooks.

  • Girish
@jithine jithine added the bug label Apr 8, 2020
@jithine
Copy link
Member

jithine commented Sep 23, 2020

I believe #2074 should fix this. Please re-open if you still face this.

@jithine jithine closed this as completed Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants