Builds, runs unit tests and deploys artifacts to nexus repo

Build: #40 failed Child of TRUNK-LATEST-138

Build result summary

Details

Completed
Queue duration
7 minutes
Duration
35 seconds
Labels
None
Revision
988bf835c506857f1db366fee89d87c05e403036 988bf835c506857f1db366fee89d87c05e403036
Total tests
2
Fixed in
#41 (Child of TRUNK-LATEST-139)

Tests

Tests

New test failures 2
Status Test View job Duration
Collapse Failed HtmlWidgetsServiceTest getAllMetadataByType_shouldReturnOnlyUnretired History
Default Job < 1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
	at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:201)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:255)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:111)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:148)
	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
(47 more lines...)
Collapse Failed HtmlWidgetsServiceTest org.openmrs.module.htmlwidgets.service.HtmlWidgetsServiceTest History
Default Job < 1 sec
org.openmrs.api.APIException: contextDAO is null
	at org.openmrs.api.context.Context.getContextDAO(Context.java:161)
	at org.openmrs.api.context.Context.closeSession(Context.java:682)
	at org.openmrs.test.BaseContextSensitiveTest.closeSessionAfterEachClass(BaseContextSensitiveTest.java:608)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(14 more lines...)