To override properties defined in build.gradle or gradle.properties from jenkins


(smurfs.doll) #1

Hi Can anyone let me know, if there is any other way to override properties defined in build.gradle or gradle.properties from jenkins

for example: in gradle.properties or build.gradle, i have defined the property as:

coreVersion=1.0.0

And, from jenkins, when doing a build, if i give as:

build -coreVersion=1.2.3

It is not working. can u please let meknow, how to do it.

Regards Smurf