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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,473
Community Members
 
Community Events
176
Community Groups

PIPE Connection to jenkins timing out

Edited

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

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

Any luck on the above one pls?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events