File tree Expand file tree Collapse file tree 5 files changed +5
-22
lines changed
java/com/cloudbees/jenkins/plugins/bitbucket
resources/com/cloudbees/jenkins/plugins/bitbucket/impl/webhook Expand file tree Collapse file tree 5 files changed +5
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2121META-INF /
2222/.apt_generated /
2323/.apt_generated_tests /
24+ /bin /
Original file line number Diff line number Diff line change 2929import com .cloudbees .jenkins .plugins .bitbucket .api .webhook .BitbucketWebhookManager ;
3030import com .cloudbees .jenkins .plugins .bitbucket .impl .util .BitbucketCredentialsUtils ;
3131import com .cloudbees .jenkins .plugins .bitbucket .impl .webhook .Messages ;
32- import com .cloudbees .jenkins .plugins .bitbucket .impl .webhook .server .ServerWebhookConfiguration ;
3332import com .cloudbees .plugins .credentials .common .StandardCredentials ;
3433import com .cloudbees .plugins .credentials .common .StandardUsernamePasswordCredentials ;
3534import edu .umd .cs .findbugs .annotations .CheckForNull ;
5655// https://help.moveworkforward.com/BPW/atlassian-bitbucket-post-webhook-api
5756// https://help.moveworkforward.com/BPW/how-to-get-configurations-using-post-webhooks-for-
5857public class PluginWebhookConfiguration implements BitbucketWebhookConfiguration {
59- private static final Logger logger = Logger .getLogger (ServerWebhookConfiguration .class .getName ());
58+ private static final Logger logger = Logger .getLogger (PluginWebhookConfiguration .class .getName ());
6059 private static final String WEBHOOK_API = "/rest/webhook/1.0/projects/{owner}/repos/{repo}/configurations" ;
6160
6261 /**
@@ -122,7 +121,7 @@ public void setEndpointJenkinsRootURL(@CheckForNull String endpointJenkinsRootUR
122121
123122 @ Override
124123 public String getDisplayName () {
125- return Messages .ServerWebhookImplementation_displayName ();
124+ return Messages .PluginWebhookImplementation_displayName ();
126125 }
127126
128127 @ NonNull
Original file line number Diff line number Diff line change 3737 *
3838 * @since 2.4.5
3939 */
40+ @ Deprecated
4041public class WebhookConfigurationTrait extends SCMSourceTrait {
4142
4243 /**
Original file line number Diff line number Diff line change 2222# THE SOFTWARE.
2323CloudWebhookImplementation.displayName =Native Cloud Implementation
2424ServerWebhookImplementation.displayName =Native Server Implementation
25+ PluginWebhookImplementation.displayName =Bitbucket Post Webhook for Jenkins Implementation
You can’t perform that action at this time.
0 commit comments