Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Build artifact checksum changing after each download

Edited

Hello all,

I'm encountering an issue with my build artifacts. I have a build which generates two .tar.gz archives. I'd like to use these in a Yocto build of a custom Linux image. However, every time I download the file from Bamboo and calculate its checksum, the value has changed.

Am I doing something wrong? Or is this just an innate function of Bamboo. 

Thanks for your help.

*EDIT* So I've begun testing this on a couple different hosts. On windows, I can click to download the .tar.gz archive and the sha256 checksum remains the same.

Additionally, on the CentOS host with Yocto, if I perform the following

curl -s <path to archive>|sha256sum

I get the same checksum. The checksum only changes after I download the file using `wget`. I imagine this is why Yocto continues failing the build.

*EDIT 2* So I performed a diff on the two archives and discovered the following:

< <input type="hidden" name="atl_token" value="cd828970f1539040af6457b8398fa11de7d0a7aa" />
---
> <input type="hidden" name="atl_token" value="35a35ae887399c904829400f142485e59f623190" />

Thoughts on how this may be worked around?  

*EDIT 3* Looks like this is an issue with performing an unauthenticated wget

1 answer

1 accepted

0 votes
Answer accepted

Solved. Going to need to implement a deployment process to move it to a local directory for retrieval by Yocto

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

65 views 0 4
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