publishers: added option to define groovy postbuild script