Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

exposing gradle report on failing integration/unit tests. #1220

Discussion options

You must be logged in to vote

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

containers:
  java-build-env:
    image: azul/zulu-openjdk-alpine:17.0.0
    volumes:
      - local: <{batect.project_directory}
        container: /code
        options: cached
      - type: cache
        name: gradle-cache
        container: /home/container-user/.gradle
      - local: <{batect.project_directory}/.batect/reports
        container: /code/build/reports/tests
        options: default
    working_directory: /code
    environ…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@swapy
Comment options

@charleskorn
Comment options

Comment options

You must be logged in to vote
1 reply
@charleskorn
Comment options

Answer selected by XI1998-swapnilmarathe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants