[JIRA] (JENKINS-58004) Not able to connect Bitbucket for automatic build for each commit.

3 views
Skip to first unread message

mail2pramin@gmail.com (JIRA)

unread,
Jun 13, 2019, 7:42:02 AM6/13/19
to jenkinsc...@googlegroups.com
Pramin Senapati created an issue
 
Jenkins / Bug JENKINS-58004
Not able to connect Bitbucket for automatic build for each commit.
Issue Type: Bug Bug
Assignee: Rick
Attachments: Jenkins-Bitbucket-Webhooks-error.zip
Components: webhook-eventsource-plugin, webhook-step-plugin
Created: 2019-06-13 11:41
Environment: Localhost
Labels: jenkins Webhook bitbucket-plugin
Priority: Blocker Blocker
Reporter: Pramin Senapati

I have installed Atlassian Bitbucket v6.3.2 and Jenkins 2.176.1

I am trying for auto build for each commit in GIT and used the below steps to create a Webhooks.

Localhost Bitbucket -> Project Settings -> Webhooks -> create

But I am not able to connect to my Localhost Jenkins, its showing the attached error logs.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mail2pramin@gmail.com (JIRA)

unread,
Jun 16, 2019, 11:51:02 PM6/16/19
to jenkinsc...@googlegroups.com

mail2pramin@gmail.com (JIRA)

unread,
Jun 19, 2019, 11:24:02 PM6/19/19
to jenkinsc...@googlegroups.com

It had been 1 week and no one taken responsibility to attend this issue.

So, I tried myself and come to a conclusion that, we need download ngrok.exe to expose our Localhost to internet.

Steps:

  • Download ngrok.exe
  • Cmd -> {ngrok exe path} http {Jenkins Port no} -> Copy the {http URL} from Cmd
  • {http URL}

    /bitbucket-hook/

Example: http://f52f6322.ngrok.io/bitbucket-hook/

Reply all
Reply to author
Forward
0 new messages