Capture full container output on build failures
This commit is contained in:
parent
99efb7dab9
commit
26f8bae997
5
Makefile
5
Makefile
@ -18,7 +18,8 @@ clean:
|
|||||||
|
|
||||||
build: image
|
build: image
|
||||||
docker create --name build-container netty-incubator-buffer:build
|
docker create --name build-container netty-incubator-buffer:build
|
||||||
docker start -a build-container || (docker cp build-container:/home/build/target . && false)
|
mkdir -p target/container-output
|
||||||
docker wait build-container || (docker cp build-container:/home/build/target . && false)
|
docker start -a build-container || (docker cp build-container:/home/build target/container-output && false)
|
||||||
|
docker wait build-container || (docker cp build-container:/home/build target/container-output && false)
|
||||||
docker cp build-container:/home/build/target .
|
docker cp build-container:/home/build/target .
|
||||||
docker rm build-container
|
docker rm build-container
|
||||||
|
Loading…
x
Reference in New Issue
Block a user