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

Wrong escaping of quotes in git summary parameter for ant

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • os.name Windows Server 2008 R2
      jenkins 2.19
      ant 1.3
      gerrit-trigger 2.22.0
      git 2.5.3
      git-client 1.21.0
      git-server 1.7

      When using quotes in a git commit summary, all ant build fail due to wrong escaping.
      Ant then wrongly interprets parts of the commit summary as an ant target, which does not exist.

      Since the parameters are somehow forced on me by, idk - the git-plugin? i dont see a way to fix it myself, even though i dont even need the commit summary in my ant scripts.

      See the attached screenshot for the commit details and build output.

      thank you & best regards,
      keydon

        1. escaping-gone-wrong.jpg
          720 kB
          Lukas Bugaj
        2. git-param-overview.jpg
          196 kB
          Lukas Bugaj

            armfergom Armando Fernandez
            keydon Lukas Bugaj
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: