-
Bug
-
Resolution: Fixed
-
Blocker
Steps to reproduce:
- mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create
- open {pom.xml}} and change jenkins.version to 2.0
- mvn clean verify
Expected result: it works
Actual result:
Running InjectedTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.752 sec <<< FAILURE! - in InjectedTest org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite(org.jvnet.hudson.test.junit.FailedTest) Time elapsed: 0.023 sec <<< ERROR! org.jvnet.hudson.reactor.ReactorException: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1020) at jenkins.model.Jenkins.<init>(Jenkins.java:864) at hudson.model.Hudson.<init>(Hudson.java:85) at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:487) at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:318) at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.setUp(JellyTestSuiteBuilder.java:143) at org.jvnet.hudson.test.junit.GroupedTest.run(GroupedTest.java:49) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.lang.Error: Unable to find /Users/danielbeck/two-oh-test/target/jenkins-for-test/WEB-INF/plugins at org.jvnet.hudson.test.TestPluginManager.loadBundledPlugins(TestPluginManager.java:70) at hudson.PluginManager$1$1.run(PluginManager.java:272) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:1009) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)
Lack of 'jenkins-test-harness' component means I'm filing against core.
- links to