After thinking about this a little more, I think that the best workaround is to treat Jobs as libraries. The Build Flow job can invoke "common library" jobs that can execute Groovy code.
Bob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Bob Bick Sent: Wednesday, August 28, 2013 10:24 AM To: jenkinsci-users@googlegroups.com Subject: Build Flow Plugin - Groovy libraries Hi, I have been using the Build Flow Plugin for a while now, and it works great. I have multiple Build Flow Plugin jobs that have common groovy code that I'd like to put into a Groovy library (call it Library.groovy). The Build Flow Plugin uses groovy.lang.GroovyShell to execute the groovy code and I have not found a way to have it include common groovy library code. Has anyone found a way to include common Groovy library code into multiple Build Flow Plugin jobs? I don't think it is possible, but then again, I may be missing something. Thanks for your time, Bob *** *** *** This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out. *** *** *** This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.