Iam able to generate URL of .txt/.exe placed in AWS from this command --
sh "aws s3 presign s3://awsexamplebucket/test2.txt"
Iam already mailing few things in jenkins pipeline about status of build,etc. How I can add generated above URL in mailing part? Working in multibranch jenkins pipeline.Generated URL i can see in build console but how this can be sent across automated mail. Thanks for help.