Builds, runs unit tests and deploys artifacts to nexus repo

Build: #326 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
5 minutes
Revision
d3c01b73bd1b261f7d6772df80722a3a1342fb22 d3c01b73bd1b261f7d6772df80722a3a1342fb22
Total tests
466
Fixed in
#328 (Code changes detected)

Tests

  • 466 tests in total
  • 3 tests failed
  • 3 failures are new
  • 1 test was quarantined / skipped
  • 5 minutes taken in total.
New test failures 3
Status Test Duration
Collapse Failed NumberFieldWidgetTest testNoAttributesWhenNotNeeded History
< 1 sec
org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
	at org.openmrs.api.context.Context.getUserContext(Context.java:237)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:616)
	at org.openmrs.aop.AuthorizationAdvice.before(AuthorizationAdvice.java:48)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at com.sun.proxy.$Proxy221.getMessage(Unknown Source)
(67 more lines...)
Collapse Failed NumberFieldWidgetTest testRangeAttributes History
< 1 sec
org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
	at org.openmrs.api.context.Context.getUserContext(Context.java:237)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:616)
	at org.openmrs.aop.AuthorizationAdvice.before(AuthorizationAdvice.java:48)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at com.sun.proxy.$Proxy221.getMessage(Unknown Source)
(67 more lines...)
Collapse Failed NumberFieldWidgetTest testShowsWholeNumberWithoutDecimalInEditMode History
< 1 sec
org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
	at org.openmrs.api.context.Context.getUserContext(Context.java:237)
	at org.openmrs.api.context.Context.getAuthenticatedUser(Context.java:616)
	at org.openmrs.aop.AuthorizationAdvice.before(AuthorizationAdvice.java:48)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at com.sun.proxy.$Proxy221.getMessage(Unknown Source)
(67 more lines...)