Hi Jesse, Apologies, I had to take a look at the source code first of all. It was pretty straightforward. Sorry for taking your time! I have created a JIRA ticket with a suggestion here: https://issues.jenkins-ci.org/browse/JENKINS-29181. Unfortunately, there was no unit-test-harness component, so I attached it to acceptance-test-harness component. Hope that's OK.
Regards, Kirill. среда, 1 июля 2015 г., 18:40:38 UTC+1 пользователь Jesse Glick написал: > > On Wed, Jul 1, 2015 at 11:36 AM, Kirill <yam...@gmail.com <javascript:>> > wrote: > > So I added "plugins/my-plugin" directory into my Maven test resources > > directory, and put my-plugin-1.0.159.hpi there. > > > > Then I put the following annotations for my test: > > > > @Test > > @WithPlugin("my-plugin") > > Use mu-plugin.jpi and @WithPlugin("my-plugin.jpi"). If that works, > file a PR to improve the Javadoc. In the meantime, you can just read > the source code, which is pretty self-explanatory. > -- 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 jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/5e7f934e-b3bd-4514-9cbc-4cfd86afc29c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.