From 3e21302d34eb884b26f3888c40037c0edbb57f00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Tue, 14 Mar 2023 16:03:36 +0100 Subject: [PATCH] Fix build logs --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b3e50c7412..49b5fa504c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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} @@ -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" ]