Using Groovy script to execute a post build action

12 views
Skip to first unread message

Faizan Javed

unread,
Jun 24, 2015, 3:44:20 AM6/24/15
to jenkins...@googlegroups.com

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?
Reply all
Reply to author
Forward
0 new messages