[JIRA] (JENKINS-60967) Webhook in Bitbucket not being removed on trigger removal or job deletion

4 views
Skip to first unread message

stefan.drzazga@gmail.com (JIRA)

unread,
Feb 5, 2020, 1:55:03 AM2/5/20
to jenkinsc...@googlegroups.com
Stefan Drzazga created an issue
 
Jenkins / Bug JENKINS-60967
Webhook in Bitbucket not being removed on trigger removal or job deletion
Issue Type: Bug Bug
Assignee: Kristy Hughes
Attachments: active_webhook.PNG, jenkins_trigger.jpg
Components: atlassian-bitbucket-server-integration-plugin
Created: 2020-02-05 06:54
Environment: Atlassian Bitbucket v.6.10.0
Jenkins v.2.204.2
Bitbucket Server Integration v.1.0.4
Priority: Major Major
Reporter: Stefan Drzazga

When I enable for a freestyle job(in the context of Bitbucket server repository) the trigger 'Bitbucket Server trigger build after push' option it creates for the repository in Bitbucket a webhook.

Unfortunately, in the two cases:

  1. trigger option is being unticked
  2. job is deleted

the webhook remains active in Bitbucket which leads to failures for the still-active repository webhook on push events.

At the moment I have to remove the trigger myself through UI/API.

I believe in the above-mentioned cases the webhook should be removed automatically and nit stay active.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

dkjellin@atlassian.com (JIRA)

unread,
Feb 12, 2020, 9:49:04 PM2/12/20
to jenkinsc...@googlegroups.com

bplump@atlassian.com (JIRA)

unread,
Mar 30, 2020, 12:19:02 AM3/30/20
to jenkinsc...@googlegroups.com
B Plump updated an issue
Change By: B Plump
Labels: tracked-by-atlassian
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages