Getting the following error after updating from v18 to v19 "No extensions found in this plugin"

24 views
Skip to first unread message

Chris

unread,
Jul 15, 2019, 9:16:30 AM7/15/19
to go-cd
Hello all,

I am using a 3rd party Artifactory Plugin ( https://github.com/tusharm/go-artifactory-plugin)

Since upgrading from latest v18 to any version 19 I am getting the following error then I go to the plugins page from the GoCD UI:

No extensions found in this plugin.Please check for @Extension annotations

Can anyone assist where I may look for a solution. I am assuming that I will most probably need to branch and fix. But if someone has a pointer on where I should look for a fix that would be great.


Aravind SV

unread,
Jul 15, 2019, 1:26:08 PM7/15/19
to go...@googlegroups.com
Hello!

The documentation for writing a task plugin is at: https://plugin-api.gocd.org/current/tasks/

You'll probably need to look at this area:
https://github.com/tusharm/go-artifactory-plugin/blob/master/src/main/java/com/tw/go/plugins/artifactory/task/GenericTask.java#L14

Something similar to the example mentioned in this part of the documentation:
https://plugin-api.gocd.org/current/tasks/#the-plugin-extension-class


However, I'd question whether you even need a task plugin. Why tie yourself to a plugin if you don't need to. Maybe it's possible to use a simple script instead? I don't know much about Artifactory but a script which uses something like this (below) will mean you retain control over how the upload happens, rather than depending on a CI/CD server. It even allows you to run it locally, if needed.

https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Artifactory

Cheers,
Aravind
> --
> 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 go-cd+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/9ce39e76-a317-4c5f-b5db-c9fc35e90cc7%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Chris

unread,
Jul 16, 2019, 3:12:25 AM7/16/19
to go-cd


Hi Aravind,

Thanks for the fast response. You are right about using a script instead of the plugin. It will be easier to maintain in the long run.
Reply all
Reply to author
Forward
0 new messages