Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,053
Community Members
 
Community Events
168
Community Groups

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

0 votes
Bloompeak Support Marketplace Partner May 02, 2020

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 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events