Skip to content

Commit

Permalink
Included copying of result logs from docker container (#605)
Browse files Browse the repository at this point in the history
Signed-off-by: Chandrakala M Subramanyam <[email protected]>
  • Loading branch information
chandrams authored and sophia-guo committed Mar 27, 2019
1 parent edf267c commit 6ed6cdb
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,8 +15,10 @@
<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 ; \
$(TEST_STATUS); \
docker cp tomcat-test:/tomcat/output/build/logs $(REPORTDIR)/external_test_reports; \
docker rm tomcat-test; \
docker rmi -adoptopenjdk-tomcat-test
</command>
<levels>
Expand Down

0 comments on commit 6ed6cdb

Please sign in to comment.