Hello Guys,
Could someone help me with this? i started getting this error in pipe.py when i call a jenkins job from bitbucket using pipe in BB.yml
Error:
INFO: Jenkins job job/online-mymorrisons-automation/job/main is PENDING. Wait for build to be started...
Traceback (most recent call last):
File "/pipe.py", line 145, in <module>
pipe.run()
File "/pipe.py", line 136, in run
self.wait_for_job(build_response.headers['Location'])
File "/pipe.py", line 73, in wait_for_job
build_number = executable.get('number')
AttributeError: 'NoneType' object has no attribute 'get'
Seems the job was triggered in Jenkins; however, BB is not waiting for the Job result back instead it failed the stage whilst the test is still running in Jenkins server.
Hi, @Sarath Nagarajan, thank you for reaching out to Atlassian Community.
Could you please add Debug: "true" in the Pipe configuration and share the output with us? This will help us to get more logs that can help us to investigate the issue further.
Please feel free to share any additional information regarding this case.
Kind regards,
Caroline
Hello Caroline R
the issue got somehow fixed on its own. After multiple attempts of running the pipeline from BB.
Thanks for your response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Sarath Nagarajan,
Thanks for the update! I'm glad to know everything is working now. Please let us know in case you face this problem again.
Kind regards,
Caroline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.