Skip to content

Commit

Permalink
remove multi-threaded maven build to accommodate bad unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trautmane committed Apr 16, 2018
1 parent 4a9184e commit 260a3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ FROM build_environment as builder
COPY . /var/www/render/
RUN mvn clean

# use -T 1C option to multi-thread maven, using 1 thread per available core
RUN mvn -T 1C -Dproject.build.sourceEncoding=UTF-8 package && \
# note: cannot safely multi-thread maven for now because some unit tests are (but should not be) order dependent
RUN mvn -Dproject.build.sourceEncoding=UTF-8 package && \
mkdir -p /root/render-lib && \
mv */target/*.*ar /root/render-lib && \
printf "\nsaved the following build artifacts:\n\n" && \
Expand Down

0 comments on commit 260a3a5

Please sign in to comment.