Skip to content

Commit

Permalink
Included copying of result logs from docker container
Browse files Browse the repository at this point in the history
Signed-off-by: Chandrakala M Subramanyam <[email protected]>
  • Loading branch information
chandrams committed Mar 13, 2019
1 parent 1ff36d6 commit 2bad867
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion thirdparty_containers/tomcat/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
<playlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../TestConfig/playlist.xsd">
<test>
<testCaseName>tomcat_test</testCaseName>
<command>docker run --rm $(EXTRA_DOCKER_ARGS) adoptopenjdk-tomcat-test:latest ; \
<command>docker run --name tomcat-test $(EXTRA_DOCKER_ARGS) adoptopenjdk-tomcat-test:latest ; \
docker cp tomcat-test:/tomcat/output/build/logs $(REPORTDIR)/external_test_reports; \
docker rm tomcat-test; \
$(TEST_STATUS); \
docker rmi -adoptopenjdk-tomcat-test
</command>
Expand Down

0 comments on commit 2bad867

Please sign in to comment.