Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20808

Escaping of single quotes in commit message fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • gerrit-trigger-plugin
    • None
    • Gerrit-Trigger plugin version 2.18.3
      Gerrit-Trigger plugin version 2.10.1 on Jenkins ver. 1.523

      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.

            rsandell rsandell
            henrik_bennin Henrik Bennin
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: