exposing gradle report on failing integration/unit tests. #1220
-
Hello, For now I tried with volumes option but was unsuccessful. Here I want to write reports from container to my local directory. Any help appreciated. These reports are html reports, so want to see them in my local host computer. I have tried doing following but it did not work.
I tried all mount options. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
The configuration for the volume mount you have there looks correct, assuming that is the right path that Gradle writes the test report to. One thing to check: is that container the one running Gradle? It looks like it's running MySQL based on the image name. If there's another container in your setup that's running Gradle, it's the one that will need the directory mount. |
Beta Was this translation helpful? Give feedback.
-
You are absolutely right @charleskorn. Wrong container, rookie mistake. However, I tried with the java bundle container and it did not work PFA Other question is:
|
Beta Was this translation helpful? Give feedback.
-
Hello @charleskorn, Actually reports for errors and exceptions can be for various tests eg: integration, ut, e2e, contract and so on. So checking in console logs at docker level was cumbersome. But you are right, I fixed by editing batect bundle for java
I also think that it would be good to have reports volume in java-bundle. |
Beta Was this translation helpful? Give feedback.
Hello @charleskorn,
Actually reports for errors and exceptions can be for various tests eg: integration, ut, e2e, contract and so on. So checking in console logs at docker level was cumbersome.
But you are right, I fixed by editing batect bundle for java