Why was Plugin Settings dropped for Task Plugins?

11 views
Skip to first unread message

M S

unread,
Aug 4, 2019, 2:34:18 AM8/4/19
to go-cd
Hello,

I've come to learn that there is no support for Task Plugins to have Plugin Settings.
After looking at the following pull requests, it looks like this feature was dropped:
Does anyone know why it is that we plugin settings for Task plugins are not supported or why it has not been implemented?

Does anyone have a suggestion on how I can try to implement a form of 'global settings' for a task plugin that can be edited from the web UI?


Thanks in advance.

Ganesh Patil

unread,
Aug 5, 2019, 4:56:06 AM8/5/19
to go-cd
Hi M S,


> Does anyone know why it is that we plugin settings for Task plugins are not supported or why it has not been implemented?

GoCD's Task plugins do not support plugin settings. Task plugins execute a task and it is recommended to have all the Task-specific plugin configuration at the task level. 
There is already an open issue regarding adding support for plugin settings to task extension plugin here. If you have a specific use-case, please add you points on this issue.

> Does anyone have a suggestion on how I can try to implement a form of 'global settings' for a task plugin that can be edited from the web UI?

As GoCD does not make a call to the plugin to get plugin settings view, there is no 'global settings' form that can be edited from the web UI. We can use a JSON file or JVM args to accept these 'global settings', but there is no way to implement a form.

Do let us know if any further information is required.


Thanks,
Ganesh


Reply all
Reply to author
Forward
0 new messages