diff --git a/java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/build/preprocessor/AbstractPreprocessor.java b/java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/build/preprocessor/AbstractPreprocessor.java index ad5b50404..050d1a30c 100644 --- a/java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/build/preprocessor/AbstractPreprocessor.java +++ b/java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/build/preprocessor/AbstractPreprocessor.java @@ -189,7 +189,7 @@ private String getContainerFile() { ENV PROXY_URL=$PROXY_URL COPY .jbs/run-build.sh /var/workdir COPY . /var/workdir/workspace/source/ - RUN /var/workdir/run-build.sh | tee /var/workdir/build.log + RUN /var/workdir/run-build.sh 2>&1 | tee /var/workdir/build.log """.formatted(recipeImage); if (type == ToolType.ANT) {