[JIRA] (JENKINS-61236) Cannot use HTTP endpoint and custom port

16 views
Skip to first unread message

clemj@amazon.com (JIRA)

unread,
Feb 26, 2020, 8:55:06 AM2/26/20
to jenkinsc...@googlegroups.com
James Clem created an issue
 
Jenkins / Bug JENKINS-61236
Cannot use HTTP endpoint and custom port
Issue Type: Bug Bug
Assignee: Kristy Hughes
Attachments: jenkins-bitbucket-plugin.png, Screen Shot 2020-02-26 at 8.51.31 AM.png
Components: atlassian-bitbucket-server-integration-plugin
Created: 2020-02-26 13:54
Environment: Jenkins 2.219 running containerized in Red Hat UBI7 7.7 base image
Bitbucket Server Integration 1.0.4
Priority: Blocker Blocker
Reporter: James Clem

The Bitbucket plugin does not appear to retain custom port/protocol configurations for Bitbucket Server. Instead it always defaults back to HTTPS/port 443. This wouldn't typically be an issue, but I'm using an internal self-signed cert and even though it's been imported into my Java keystore, I still can't seem to connect via that method.

As a workaround, I am trying to connect to an internally-exposed Kubernetes service endpoint http://bitbucket-svc:7990.

I am able to connect to the endpoint at the Manage System configuration page and even when I'm creating my Jenkins pipeline job. However, when I try to build the project, I can see in the logs it's connecting via HTTPS.

Steps to replicate:

  • Configure the Bitbucket server location to use the default Bitbucket HTTP port 7990.
  • Connect successfully from Manage System and pipeline job configuration
  • Click "Build Now" and observe the endpoint the plugin tries to connect to
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

clemj@amazon.com (JIRA)

unread,
Feb 26, 2020, 9:02:07 AM2/26/20
to jenkinsc...@googlegroups.com
James Clem updated an issue
Change By: James Clem
The Bitbucket plugin does not appear to retain custom port/protocol configurations for Bitbucket Server. Instead it always defaults back to HTTPS/port 443. This wouldn't typically be an issue, but I'm using an internal self-signed cert and even though it's been imported into my Java keystore, I still can't seem to connect via that method (separate issue) .

As a workaround, I am trying to connect to an internally-exposed Kubernetes service endpoint [http://bitbucket-svc:7990.|http://bitbucket-svc:79990.]


I am able to connect to the endpoint at the Manage System configuration page and even when I'm creating my Jenkins pipeline job. However, when I try to build the project, I can see in the logs it's connecting via HTTPS.

Steps to replicate:
* Configure the Bitbucket server location to use the default Bitbucket HTTP port 7990.
* Connect successfully from Manage System and pipeline job configuration
* Click "Build Now" and observe the endpoint the plugin tries to connect to

clemj@amazon.com (JIRA)

unread,
Feb 26, 2020, 9:04:03 AM2/26/20
to jenkinsc...@googlegroups.com
James Clem updated an issue
The Bitbucket plugin does not appear to retain custom port/protocol configurations for Bitbucket Server. Instead it always defaults back to HTTPS/port 443. This wouldn't typically be an issue, but I'm using an internal self-signed cert and even though it's been imported into my Java keystore, I still can't seem to connect via that method (separate issue).

As a workaround, I am trying to connect to an internally-exposed Kubernetes service endpoint [http://bitbucket-svc:7990.|http://bitbucket-svc:79990.]

I am able to connect to the endpoint at the Manage System configuration page and even when I'm creating my Jenkins pipeline job. However, when I try to build the project, I can see in the logs it's connecting via HTTPS.

Steps to replicate:
* Configure the Bitbucket server location to use the default Bitbucket HTTP port 7990.
* Connect successfully from Manage System and pipeline job configuration
* Click "Build Now" and observe the endpoint protocol/port the plugin tries to connect to

clemj@amazon.com (JIRA)

unread,
Feb 26, 2020, 9:20:06 AM2/26/20
to jenkinsc...@googlegroups.com
James Clem updated an issue
The Bitbucket plugin does not appear to retain custom port/protocol configurations for Bitbucket Server. Instead it always defaults back to HTTPS/port 443.

I am trying to connect to an internally-exposed Kubernetes service endpoint [http://bitbucket-svc:7990.|http://bitbucket-svc:79990.]

I am able to can connect to the endpoint at the Manage System configuration page and even when I'm creating my Jenkins pipeline job. However, when I try to build the project, I can see in the logs it's connecting via HTTPS.


Steps to replicate:
* Configure the Bitbucket server location to use the default Bitbucket HTTP port 7990.
* Connect successfully from Manage System and pipeline job configuration
* Click "Build Now" and observe the protocol/port the plugin tries to connect to

clemj@amazon.com (JIRA)

unread,
Feb 26, 2020, 9:20:06 AM2/26/20
to jenkinsc...@googlegroups.com
James Clem updated an issue
The Bitbucket plugin does not appear to retain custom port/protocol configurations for Bitbucket Server. Instead it always defaults back to HTTPS/port 443. This wouldn't typically be an issue, but I'm using an internal self-signed cert and even though it's been imported into my Java keystore, I still can't seem to connect via that method (separate issue).

As a workaround, I am trying to connect to an internally-exposed Kubernetes service endpoint [http://bitbucket-svc:7990.|http://bitbucket-svc:79990.]

I am able to connect to the endpoint at the Manage System configuration page and even when I'm creating my Jenkins pipeline job. However, when I try to build the project, I can see in the logs it's connecting via HTTPS.


Steps to replicate:
* Configure the Bitbucket server location to use the default Bitbucket HTTP port 7990.
* Connect successfully from Manage System and pipeline job configuration
* Click "Build Now" and observe the protocol/port the plugin tries to connect to

dkjellin@atlassian.com (JIRA)

unread,
Mar 15, 2020, 7:54:04 PM3/15/20
to jenkinsc...@googlegroups.com
Daniel Kjellin assigned an issue to Unassigned
Change By: Daniel Kjellin
Assignee: Kristy Hughes
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

bplump@atlassian.com (JIRA)

unread,
Mar 30, 2020, 12:11:03 AM3/30/20
to jenkinsc...@googlegroups.com
B Plump updated an issue
Change By: B Plump
Labels: tracked-by-atlassian
Reply all
Reply to author
Forward
0 new messages