Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

PIPE Connection to jenkins timing out

Sarath Nagarajan April 26, 2022

Hello Guys,

Any help sooner would be greatly appreciated 

 

I am using PIPE to connect to Jenkins pipeline from BB and using the below code in my BB.yml

- step: &functionalTest

name: functional test

image: python:3.9

script:

- pipe: atlassian/jenkins-job-trigger:0.1.1

variables:

JENKINS_URL: '<<myJenkinsURL>>'

JENKINS_USER: '<<myJenkinsUser>>'

JENKINS_TOKEN: $JENKINS_USER_TOKEN

JOB_NAME: '<<myJenkinsJob>>'

WAIT: 'true'

WAIT_MAX_TIMEOUT: 500
It was working fine until last week. However, since Friday i can see number failures in BB pipeline with the timeout. Though the Jenkins job is success and took only 4 mins and 56 secs to execute all test cases. Also i have WAIT_MAX_TIMEOUT: 500 (almost 8 mins max timeout) 
Exception:
✖ Timeout while waiting for jenkins job with build number 254 to be completed
PS: Jenkins job for this build ID is successful in 5 mins (including the Sonar report generation)

2 answers

0 votes
o_kyrdan April 28, 2022

Hi @Sarath Nagarajan

Thank you for your interest to atlassian/jenkins-job-trigger pipe.

This pipe isn't released officially in the Bitbucket Pipes Marketplace, but available for beta-testing )

Please, make sure to tune WAIT_MAX_TIME according to the variables section in the Readme, instead of WAIT_MAX_TIMEOUT.

There is a bug in the advanced examples that will be fixed with the next release soon.

It would be nice if you provide us with more feedback about atlassian/jenkins-job-trigger pipe.


Best regards,
Oleksandr Kyrdan

0 votes
Sarath Nagarajan April 28, 2022

Any luck on the above one pls?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events