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

How to generate MD5 from package artifact build

Hi,

I have do a little research in web that there is no way to generate MD5 in maven build (at least no official support for this), so I turn to think if it is possible to do it within bamboo build plan / job. 

Suppose I have a a self-develop java program or a command line utility like Microsoft File Checksum Integrity Verifier that can output a checksum file, is it possible to use bamboo to execute to run against an EAR / JAR file from result of a build job ? 

Would you share me your solution if you think it is possible to do so ?

Thanks a lot,

Raymond

1 answer

Hi @Ray_Lee ,

On windows, you can use built-in MD5 command as below.

CertUtil -hashfile your-package.jar MD5 | find /v "hash"

 You should insert above command into a script task as below.

Screen Shot 2020-05-02 at 11.38.22.png

Suggest an answer

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

Bamboo Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

543 views 1 17
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