Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket pipeline

islam
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!
July 6, 2025

i  have bit bucket  pipeline always  fails when connection to my local Jenkins runner 
i have dockercompose file and  has  2  container   jenkins   and  jenkins  runner jobs 
and  has  bitbucket pipline  as below 

pipelines:
branches:
release/*:
- step:
name: Trigger Jenkins Job Build
runs-on:
- "self.hosted"
- "jenkins"
services:
- docker
caches:
- docker # adds docker layer caching -test
script:
- pipe: atlassian/jenkins-job-trigger:0.10.0
variables:
JENKINS_USER: "XXXXXXXXXXXXXXXXXXXXXXXXXXXxx"
JENKINS_TOKEN: "XXXXXXXXXXXXXXXXXXXXXXXXXXX"
JOB_NAME: "XXXXXXXXXXXXXXX"
JOB_PARAMETERS: >
{
"BranchName": "$BITBUCKET_BRANCH"
}
DEBUG: "true"

 i need sample of the XXXX values   
i got this  errors 
HTTP/11" 200 None
INFO: None
INFO: Submitting jenkins job...
DEBUG: Starting new HTTP connection (1): 172.18.0.3:8080
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 196, in _new_conn
sock = connection.create_connection(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host

the docker compose  uses the default network

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events