Hi, I can see that pipeline config request <https://api.gocd.org/current/#get-pipeline-config> has *params* and *enviromental_variables* fields but pipeline instance request <https://api.gocd.org/current/#get-pipeline-instance> does not. Is this on purpose? Nevertheless, those requests are still inaccessible from a plugin. Is there a plan to extend GoApplicationAccessor <https://developer.gocd.org/17.5.0/writing_go_plugins/go_application_accessor/go_application_accessor.html> functionality to include querying pipeline instances?
Thanks, Krzysztof Szatan W dniu sobota, 17 czerwca 2017 23:51:44 UTC+2 użytkownik Krzysztof Szatan napisał: > > Hi! > > I'm trying to write a notification plugin for Phabricator and I'm stuck on > passing a parameter to a pipeline and then getting it from the plugin. Is > it possible to schedule a pipeline with a parameter using an API call? Is > there a way to enquire GoCD about these parameters for a particular > pipeline instance from a plugin? What's the best way to do it? > From what I read so far, I can only set an environment variable for a > scheduled pipeline and then somehow try to get it from the plugin. > > Thanks, > Krzysztof Szatan > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
