Skip to content

Commit 95c1f1c

Browse files
committed
Capture stderr in build.log
1 parent bc9f774 commit 95c1f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/build/preprocessor/AbstractPreprocessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ private String getContainerFile() {
189189
ENV PROXY_URL=$PROXY_URL
190190
COPY .jbs/run-build.sh /var/workdir
191191
COPY . /var/workdir/workspace/source/
192-
RUN /var/workdir/run-build.sh | tee /var/workdir/build.log
192+
RUN /var/workdir/run-build.sh 2>&1 | tee /var/workdir/build.log
193193
""".formatted(recipeImage);
194194

195195
if (type == ToolType.ANT) {

0 commit comments

Comments
 (0)