Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Reference Build Log File :  appc-build-07242019.logappc-unitest-build-failed-07242019.log

I think the junit tests are failing because the mockito when method is not compatible with the double method calls of the Invocation.Builder class:

when(webResourceBuilder.accept(MediaType.APPLICATION_JSON_TYPE).post(Entity.json(String.class),Response.class)).thenReturn(clientResponse);

The way to fix this might be to create a custom mock class for the Invocation.Builder class instead of using a mockito mock for it.

Build appc deployment project (This is responsible to build APPC docker images)

...