Hello, guys.
I am trying to send the build artifact via email as the last step of the build. I am able to send a link to an artifact, but it is not very convenient. What I would like to do is to include actual file as attachment to the mail. What I have tried:
artifactFolder=/opt/bamboo/artifacts/${bamboo.planKey}/${bamboo.shortJobKey}/build-00${bamboo.buildNumber} /apk
artifactPath=$artifactFolder/app-release.apk
But what I got is:
/opt/bamboo/artifacts/FNM-FNMA/JOB1/build-137/apk/app-release.apk: No such file or directory
I am sure I have the correct path, as I can seen this file AFTER build is completed. Can you please tell me how I can access the artifact DURING build? Thank you.