Possibly incorrect quoting logic for system properties passed to gradle cli.
The problem resides in this property format:
which the gradle plugin translates it to:
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.