Skip to content
This repository was archived by the owner on Jun 9, 2021. It is now read-only.
This repository was archived by the owner on Jun 9, 2021. It is now read-only.

Bitbucket - OpenShift Integration #257

Open
@co-de

Description

@co-de

Let me start by saying that this is one of the most useful plugins I have seen up to now. And I appreciate the fact that it is available for free...

Now, what I am trying to achieve...
I am trying to integrate Bitbucket with Red Hat OpenShift. Whenever a new pull-request is merged, a POST should be done on a URL provided by OpenShift. I created a new "notification" to be triggered on "MERGED" trigger. I also created a button and bound it to this notification to trigger it easily.

I copied the URL provided by OpenShift into the "URL" field of this notification's configuration and set the method as POST.

After creating a pull-request, I click my custom button to trigger this event, but Bitbucket gives me a 505 error. "Check the Bitbucket server log for more details" it says. I remote desktop to Bitbucket server, go to
"D:\Atlassian\Bitbucket\4.14.3\logs" where the logs are located but no logs have been created. How can I solve this? Am I doing something wrong?

Note: When I do "curl -X POST {URL}" on command line (on Bitbucket server machine), trigger succeeds and a new build is started on OpenShift.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions