Re: APIs to expose build parameters to trigger builds

2020-10-24 Thread ikedam
Adding a new getter sounds good and easy. I'll try that. Thank you! 2020年10月19日月曜日 23:41:08 UTC+9 Jesse Glick: > On Sat, Oct 17, 2020 at 11:49 PM ikedam wrote: > > REST API looks expected to use to expose configurations, that is, to > expose static attributes rather than calculated results. >

Re: APIs to expose build parameters to trigger builds

2020-10-19 Thread Jesse Glick
On Sat, Oct 17, 2020 at 11:49 PM ikedam wrote: > REST API looks expected to use to expose configurations, that is, to expose > static attributes rather than calculated results. Not really. There is an export API from builds (`Run.getApi`), for example, which is clearly dynamic. > REST API is ac

APIs to expose build parameters to trigger builds

2020-10-17 Thread ikedam
Hello, Let me know the best way to expose information to trigger builds from programs. Extensible-choice-parameter plugin provides choice parameters whose choices are calculated dynamically, for example, with Groovy scripts. I received a pull request to expose those choices with @Export annotat