Communication between bitbucket Runner and Local Services

franciscoffavaro
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 22, 2024

Hi all, 

 

I have a runner in my local environment. When the pipeline starts, they up a service when need to comunicate with a mongodb local instance. This instance of mongoDB is available in the same local environment of the runner. 

The problem is, when i run the pipeline, que runner cannot comunicate with the mongodb in my local server. How i can fix this ?

This is my current bitbucket pipeline file:

"

pipelines:
default:
- step:
runs-on:
- self.hosted
- linux.shell
name: Download Bitbucket Repository - Backend
script:
- git clone -b ${BRANCH_BACK:-master} $REPOSITORY_URL_BACK
- cd $BACKEND_PATH
- npm i --force
- npm start

"


1 answer

1 vote
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 24, 2024

Hi Francis,

I've noticed that you have not yet received a response from our community. I can see that you are a member of a company workspace with a Standard subscription plan, meaning that you are entitled to Standard support from our support team. For Pipelines issues, we need access to your workspace and this can only be granted to us when there is a support ticket present.

To troubleshoot this further for you within your timezone and provide you with the appropriate level of support,  please raise a ticket through our portal using "Technical Issues & Bugs", select "Bitbucket Cloud" as the product and enter your company workspace URL when prompted:

If you have issues raising a ticket, please let me know which timezone you are in and I can raise one on your behalf.

Cheers!

- Ben (Bitbucket Cloud Support)

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events