Custom Webhook overriden

XMLWordPrintable

      I manually  created a webhook on Bitbucket.org repository to trigger a job using "Generic Webhook Trigger" plugin.  The same repository is handled by an organization folder that uses this plugin to configure webhooks 

      I tested  the custom webhook and it worked fine but few minutes after it has been updated:

      • the URL changed from JENKINS_URL/generic-webhook-trigger/invoke?token=TOKEN  to JENKINS_URL/bitbucket-scmsource-hook/notify 
      • triggers were restored to this plugin default

      On jenkins logs instance:

       

      INFO c.c.j.p.b.i.w.c.CloudWebhookManager#shouldUpdate: Update webhook {5b128ca5-546e-4136-9345-130267384e9b} events because was missing: [repo:push, pullrequest:created, pullrequest:updated, pullrequest:rejected]
      c.c.j.p.b.i.w.c.CloudWebhookManager#shouldUpdate: Update webhook {5b128ca5-546e-4136-9345-130267384e9b} callback URL
      c.c.j.p.b.i.w.c.CloudWebhookManager#shouldUpdate: Update webhook {5775f8f3-9ea0-40a8-9e03-12e793aa038d} events because was missing: [repo:push, pullrequest:created, pullrequest:updated, pullrequest:rejected]c.c.j.p.b.i.w.c.CloudWebhookManager#shouldUpdate: Update webhook {5775f8f3-9ea0-40a8-9e03-12e793aa038d} callback URL
      

       

      I was not able to identify these webhook id but this log appeared few moments after my webhook test. 

      Looking at code this should be updated only "isValidWebhook" is true so I would assume that the correct beheviour is that custom webhook should not be modified by this plugin 

      Can be this considered as a bug o there is something wrong with my setup? 

       

       

            Assignee:
            Nikolas Falco
            Reporter:
            Luca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: