Installs the specified plugin before launching Jenkins in the test. For now, this has to be one of the plugins statically available in resources "/plugins/NAME"."
I need to add plugin "my-plugin" for the test run.
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")
But it wasn't loaded :( What did I do wrong? Jenkins version is 1.580.3.
Is this the same situation as in https://groups.google.com/forum/#!searchin/jenkinsci-dev/plugin$20test/jenkinsci-dev/cQR069bDZGk/f61kDTUYHt0J ?
There's no much details in Wiki entry about what should be done. I think a sample would be grand.