This is probably a bit of a newbie question, but I haven't been able to 
find a good answer.  What is the proper way to implicitly call an existing 
plugin from within one I'm developing?

For example, just to play around with the idea, I was looking at the 
htmlpublisher plugin.  Let's say I know that my build is going to create an 
HTML report, so rather than have a user also enable the htmlpublisher 
plugin as a post-build step, I just want to do it myself.  I have it in my 
dependencies in my pom.xml, and Jenkins goes and downloads it fine (it does 
show up as an option in my project configuration for post-build step, and I 
can run it standalone and everything works properly.  So I tried just 
simply instantiating an htmlpublisher object, and then calling it's perform 
method.  This 'almost' works.  The plugin does run, and all the proper 
files are being created (perform method itself returns true), however the 
action doesn't seem to be recognized properly, the icon/url doesn't become 
visible on the project page.

What am I missing here?  Or am I doing this entirely incorrectly?

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/9f199182-55d7-48c5-a728-029e56b30689%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to