I am running two ant targets in my build
compile(source compilation) and
compile_tests(tests compilation). In post build action I have added option to create
Mantis(bug tracking tool) ticket on build failure. But I only want to create ticket when my build fails on compile target.
Is there a way to use groovy script as a condition for running post build actions? Or any other way to do this task?