If you have not found yet, this could help you : https://github.com/jenkinsci/workflow-examples/blob/master/workflow-examples/gitcommit/gitcommit.groovy
-- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d6ccf4a7-8550-40f1-9fb2-3bae0bfee82f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
