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

How to generate MD5 from package artifact build

Ray Lee May 1, 2020

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
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 2, 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
AUG Leaders

Atlassian Community Events