For a freestyle job, using these two apis gives the same set of parameters 1) /api/xml?tree=property[parameterDefinitions[name,type]]
2) /api/xml?tree=actions[parameterDefinitions[name,type]] But in a workflow job, only the first one gives back the parameters. The second one returns a empty list. I am using approach 2) to query the parameters in a job and it is broken for workflow. Is this a gap in workflow or is the right way to query build parameters is approach 1) -- 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/bbebc754-6b22-42e7-90e0-88ad6a5a05d1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
