I have a python script which is pulling some report and sending an email to certain users at the end. I have configured the script to run as a bamboo build plan and also set a trigger to auto run the plan daily. Everything is working fine except the intimation email to users going twice while the trigger auto executing the plan whereas if I am running the plan manually its sending email once. I don't understand what causing the trigger to duplicate the email.
Any suggestion or anyone face similar kind of issue ? (Bamboo pulling the scripts from a Bitbucket repository.)