Hello,

On Monday, 5 February 2018 19:03:08 UTC+5:30, Florian Kammermann wrote:
>
> We use this feature: https://docs.gocd.org/current/beta/plugin_upload.html
> Here it is mentioned that the page will be removed completely: 
> https://github.com/gocd/gocd/issues/4031
>
 
There were a few gotchas with respect to the plugin upload form. Since the 
plugin upload form was prone to uploading malicious files onto the server, 
it was disabled by default using the system property 
'go.plugin.upload.enabled'. Next, if you wanted to upgrade to a newer 
version of the plugin, this wouldn't be possible with the plugin upload 
form as our current plugin infrastructure loads only one jar with the same 
plugin id. Since it would have already loaded the old version, it will 
ignore the new version. 

This feature was always in beta and keeping the above in mind, we decided 
to only support uploading plugins by those who have access to the go server 
machine and can drop a jar in the external folder. 

If you're using our official docker image - 
https://hub.docker.com/r/gocd/gocd-server, you can volume mount the plugins 
onto the container. There is also this feature of installing custom plugins 
at the time of starting the container using environment variables. You can 
find the instructions for doing so in the README 
<https://github.com/gocd/docker-gocd-server/blob/master/README.md>.
 

> Will there be an alternative for plugin upload over the web (GUI or REST)
>

Currently, this is not of priority. We need to first handle plugin upgrade 
scenario and support deleting of unnecessary or older versions of a plugin 
first. 

Thank you,
Varsha

-- 
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.

Reply via email to