Files
SCM-Manager/build/Makefile
Sebastian Sdorra dda761ffc2 Fix unit tests on Java 11 (#1483)
The unit test I18nServlet and MultiParentClassLoaderTest are failing on Java 11.
This is because they mock ClassLoaders which cause a jvm error.

The following tickets describe the problem in more detail:

- https://bugs.openjdk.java.net/browse/JDK-8254969
- https://github.com/mockito/mockito/issues/2043
- https://github.com/mockito/mockito/issues/1696
2020-12-18 14:23:36 +01:00

10 lines
171 B
Makefile

VERSION:=11.0.9_11.1
.PHONY:build
build:
docker build -t scmmanager/java-build:${VERSION} .
.PHONY:publish
publish: build
docker push scmmanager/java-build:${VERSION}