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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

pipe: atlassian/bitbucket-upload-file:0.1.x is failing

Hi there,

It looks like an update was made yesterday to bitbucket-upload-file which is causing a failure.  Here is the pipeline step:

script:

- zip -r dist-staging.zip public/staging/dist/

- pipe: atlassian/bitbucket-upload-file:0.1.5

 

Here is the failure:

Status: Downloaded newer image for bitbucketpipelines/bitbucket-upload-file@sha256:e853a53befe6f3ec91449c37b8c74ad74730902a2896289069a400266f15657c

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'

 

Here I believe is where the issue lies:

https://bitbucket.org/atlassian/bitbucket-upload-file/commits/cff8dabb7a92704eb8a7cf4810a98ad14c0680b0#Lpipe.ymlT2

 

Can you look to resolve?

 

Thanks,

Craig.

1 answer

1 accepted

thanks @drichards-lightwell are you aware of a possible workaround in the meantime? or should we wait until a fix is in place?

Thanks @Craig_Turner for reporting!

Here is correct workaround, in Duplicated queston .

Fixed release  (we need to review changes) will be in few days, I will notify

 

Cheers, Galyna

Like drichards-lightwell likes this

@Galyna Zholtkevych awesome, thanks, we'll revert to 0.1.1 in our pipelines for now.

@Craig_Turner @drichards-lightwell  try, please, version 0.1.6, it should work now

@Galyna Zholtkevych 0.1.6 did work for me.

Any chance in getting it back ported into 0.1.4 so our current pipelines can complete successfully? :) 

Thanks in advance!

@drichards-lightwell  I am not sure about the porting. It will be known next week.

But if it is simple for you to just update, it is the most recommended way

 

Cheers, Galyna

Actually there are no such changes since 0.1.4 that affect functionality of uploading files.

I just reran our pipeline for a production deploy step that uses 0.1.4 and it still failed with the same error. Let me know if I can assist with more details.

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: '6@sha256'

@Galyna Zholtkevych thanks, 0.1.6 is working for us too.

@drichards-lightwell hello, try, please, again , your version. I rechecked it

I can confirm it worked, thanks for the fix! 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

880 views 14 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you