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

Possibly incorrect quoting logic for system properties passed to gradle cli

      Possibly incorrect quoting logic for system properties passed to gradle cli.

      The problem resides in this property format:

      -Dproperty=renaming XYZ >> 'xyz'

      which the gradle plugin translates it to:

       

      '-Dproperty="renaming XYZ >> 'xyz'"'
      

      In Jenkins parameters:

       

      property renaming XYZ >> 'xyz'

      With the help of a gradle team member - wolfs - he marked the code snippet in the gradle-plugin project that may cause this issue.

      I previously opened an issue in the gradle project. You can hace a look on the conversation, as the problem is well demonstrated there.

       

       

          [JENKINS-42573] Possibly incorrect quoting logic for system properties passed to gradle cli

            wolfs Stefan Wolf
            spac3hit spac3hit
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: