How to trigger a job from groovy? One of the possibilities
import hudson.model.*
def job = Hudson.instance.getJob("Job Name")
def mybuild = job.scheduleBuild2(0)
def myresult = mybuild.get()
print myresult.result
Additionally parameters should be passed into the triggered workflow to get information about gerrit patchset
def params = [new hudson.model.StringParameterValue("GERRIT_PATCHSET_REVISION", $GERRIT_PATCHSET_REVISION)]