I am trying to add a unit test for a feature of email-ext that makes
use of the token-macro plugin, so on the test method I put
@WithPlugin("token-macro"), put token-macro.hpi in
test/resources/plugins/token-macro and ran my test. I am getting the
following error when running the test:
SEVERE: Failed Inspecting plugin C:\Users\acearl\AppData\Local\Temp\hudson560040
5464120535387test\plugins\token-macro.hpi
hudson.util.IOException2: Failed to expand C:\Users\acearl\AppData\Local\Temp\hu
dson5600405464120535387test\plugins\token-macro.hpi
at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:399)
at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrateg
y.java:113)
at hudson.PluginManager$1$3$1.run(PluginManager.java:196)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuild
er.java:146)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:800)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: Dest must be a directory.
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:120)
at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:397)
... 10 more
It looks like its failing because the destination for the expand is
not a directory, what is the best way to debug this issue?
Thanks,
slide
--
Website:
http://earl-of-code.com