For example, I would like to add 2 build parameters from java code of my
plugin.
StringParameterDefinition spd = new StringParameterDefinition("id", "");
ParametersDefinitionProperty spdp = new ParametersDefinitionProperty(spd);
p.addProperty(spdp);
StringParameterDefinition spd1 = new StringParameterDefinition("email", "");
ParametersDefinitionProperty spdp1 = new ParametersDefinitionProperty(spd1);
p.addProperty(spdp1);
But the problem is the latter parameter *email* will override the former *id
*and only the *email* parameter was created. * D*oes anyone know how to fix
this issue ?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/ed263cfd-2785-464f-a5e8-819c7724b6d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.