I have 2 stages in a Plan. Stage 1 will compile and upload artifact to nexus. Stage 2 (manual) will deploy by using aws code deploy cli command.
After stage 1, I need a mail to be triggered to a group stating that the artifact is ready for deployment. How can I trigger a custom email for custom events using ScriptRunner?