Skip to content

Commit

Permalink
Fix build logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Mar 14, 2023
1 parent 343e9cd commit 3e21302
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 @@ -21,7 +21,7 @@ COPY checkstyle_* ./
# '&& touch success || true' is a trick to be able to get out some artifacts
RUN --mount=type=cache,target=/home/gradle/.gradle \
(gradle :core:checkstyleMain :core:spotbugsMain :core:violations --stacktrace > /tmp/logs 2>&1) \
&& ( (gradle :core:build :core:explodedWar :core:libSourcesJar :core:libJavadocJar && touch success) || true)
&& ( (gradle :core:build :core:explodedWar :core:libSourcesJar :core:libJavadocJar >> /tmp/logs 2>&1 && touch success) || true)

ARG GIT_HEAD
ENV GIT_HEAD=${GIT_HEAD}
Expand All @@ -39,6 +39,6 @@ RUN --mount=type=cache,target=/home/gradle/.gradle \

FROM builder AS test-builder

RUN cat /tmp/logs && [ -e success ] && [ -e success-publish ] && [ -e success-examples-docs ]
RUN cat /tmp/logs && ls success success-publish success-examples-docs

VOLUME [ "/src/core" ]

0 comments on commit 3e21302

Please sign in to comment.