Builds, runs unit tests and deploys artifacts to nexus repo

Build: #326 failed Changes by mogoodrich <mgoodrich@pih.org>

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Test results

  • 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 View job Duration
Collapse Failed NumberFieldWidgetTest testNoAttributesWhenNotNeeded History
Default Job < 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
Default Job < 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
Default Job < 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...)
Skipped tests 1
Status Test Failing since View job
Skipped ObsSubmissionElementTest testShowUnitsUsingCode History
Default Job