How can I write a prescript to check whether an email is going to be triggered because of an upstream project cause (commit-job A).
If it does trigger, I want to cancel the email triggering in job B. I have seen one cancel variable. I want to know how can I use it for checking and cancelling?