Skip to content

Commit

Permalink
Capture stderr in build.log
Browse files Browse the repository at this point in the history
  • Loading branch information
ruhan1 committed Dec 17, 2024
1 parent bc9f774 commit 95c1f1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 95c1f1c

Please sign in to comment.