When trying to execute following line in our bitbucket pipeline we got the following error.
- pipe: atlassian/bitbucket-upload-file:0.1.3
Status: Downloaded newer image for bitbucketpipelines/bitbucket-upload-file:0.1.3
Traceback (most recent call last):
File "/pipe.py", line 77, in <module>
pipe = UploadFilePipe(schema=schema, pipe_metadata=metadata, check_for_newer_version=True)
File "/usr/local/lib/python3.7/site-packages/bitbucket_pipes_toolkit/core.py", line 267, in __init__
self.check_for_newer_version()
File "/usr/local/lib/python3.7/site-packages/bitbucket_pipes_toolkit/core.py", line 289, in check_for_newer_version
if tuple(map(int, latest_version.split('.'))) > tuple(map(int, current_version.split('.'))):
ValueError: invalid literal for int() with base 10: '5@sha256'
Hi,
If anyone is looking for a WA until the issue is fixed, I have reverted to using version 0.1.1 before a change in the bitbucket_pipes_toolkit.
Thanks
Thanks @Ayoub Ennassiri @wjia for reporting.
It is correct workaround, fixed release (we need to review changes) will be in few days, I will notify
Cheers, Galyna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@wjia , @Ayoub Ennassiri try, please, version 0.1.6, it should work now
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.