-
New Feature
-
Resolution: Fixed
-
Trivial
-
None
Gradle Plugin up to version 1.24 passes job parameters as system properties (-D). The new Gradle Plugin 1.25 (yet to be released) will offer an option to pass job parameters as Gradle Properties (-P).
The new feature is version agnostic and will only kick in for versions >= 1.25. For compatibility reasons, the default is to use the old behaviour (system properties).
The PR for the Gradle Plugin feature itself is https://github.com/jenkinsci/gradle-plugin/pull/27