Skip to content

Commit 1c4d194

Browse files
committed
fix: stderr of executed docker command ignored again
1 parent 129275f commit 1c4d194

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/groovy/com/avast/gradle/dockercompose/DockerExecutor.groovy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class DockerExecutor {
2929
def finalArgs = [settings.dockerExecutable.get()]
3030
finalArgs.addAll(args)
3131
e.commandLine finalArgs
32-
e.errorOutput = os
3332
e.standardOutput = os
3433
e.ignoreExitValue = true
3534
}

src/test/groovy/com/avast/gradle/dockercompose/Fixture.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Fixture implements AutoCloseable {
1414
services:
1515
web:
1616
image: nginx:stable
17-
command: bash -c "sleep 5 && nginx -g 'daemon off;'"
17+
command: bash -c " echo 'starting nginx' && sleep 5 && nginx -g 'daemon off;'"
1818
ports:
1919
- 80
2020
''')

0 commit comments

Comments
 (0)