Jay,

I've set the property -DpluginLocationMonitor.sleepTimeInSecs=1 while
developing plugins and it has worked well. It makes the server check the
plugins/external directory for new plugins every second.

Whenever I need to test some change, I just run something like this:

gradle build && cp -f target/plugin-0.1.jar
/path/to/go-server/plugins/external

Maybe that's worth a try.

Cheers,
Aravind


On Wed, Aug 24, 2016 at 11:39 PM, Jay <[email protected]> wrote:

> Varsha,
>
> Sorry for not providing further feedback about enabling the plugin upload
> feature. I was able to continue and complete my gocd plugin development
> efforts and had to restart the gocd server during each plugin build
> iteration to test out my changes. The upload feature would have saved me
> some time. It would be really great if this upload feature was moved from
> BETA to a released feature since it would provide a great value to those
> developing plugins.
>
> Jay
>
>
> On Thursday, August 11, 2016 at 6:58:32 AM UTC-7, Jay wrote:
>>
>> Thanks for your help. Changing the property value to 'Y' instead of the
>> documented 'true' did enable the upload form. However, the uploads don't
>> work even though there is a message indicating that it added the file
>> successfully. I figured I must need to add the additional property
>> documented on that same page, GO_SERVER_SYSTEM_PROPERTIES to include
>> -DpluginLocationMonitor.sleepTimeInSecs=3. After doing this the upload
>> form no longer displays. So at this point, this still isn't working for me.
>> I didn't spend a whole lot of time tracing through the logs, so I can still
>> do that and provide additional details here later today.
>>
>> On Tuesday, August 9, 2016 at 10:22:26 PM UTC-7, Varsha Varadarajan wrote:
>>>
>>> Hey Jay,
>>>
>>> Can you try doing this instead?
>>>
>>> export GO_SERVER_SYSTEM_PROPERTIES='-Dgo.plugin.upload.enabled=Y'
>>>
>>> or
>>>
>>> wrapper.java.additional.17='-Dgo.plugin.upload.enabled=Y'
>>>
>>> Thanks,
>>> Varsha
>>>
>>>
>>> On Wednesday, 10 August 2016 02:46:14 UTC+5:30, Jay wrote:
>>>>
>>>> Hello,
>>>>
>>>> The advertised functionality at https://docs.go.cd/16.4.0/b
>>>> eta/plugin_upload.html does not seem to work. I've tried setting the
>>>> system property in various different ways and I've verified that the
>>>> running java process includes it, but I still do not see a dropdown in the
>>>> plugins page. It would be a tremendous help for plugin testing/development
>>>> if I could get this to work. Any help would be greatly appreciated.
>>>>
>>>> Go version: 16.4.0
>>>> Platform: gocd/gocd-server:16.4.0 docker image
>>>>
>>>> Jay
>>>>
>>> --
> 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.
>

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