The gerrit-trigger plugin fails in escaping single quotes in the commit comment.
After I entered the following text as commit comment the mvn call that was triggered by the gerrit-trigger plugin fails with error "The system cannot find the file specified.":
Remove 'Custom' mode from "Connection Settings"
In the output of the jenkins job I could see that double quotes were escaped like: from \"Connection Settings\"
After I removed the single quotes from my comment the job run successful.