
test:
  override:
    - mvn clean test jacoco:report

  post:
    - mvn coveralls:report -DrepoToken=$COVERALLS_REPO_TOKEN
    - cp -R ./target/* $CIRCLE_ARTIFACTS/


deployment:
  production:
    branch: master
    commands:
      - mvn package
      - chmod +x publish.sh
      - ./publish.sh

test:
  override:
    - mvn clean test jacoco:report

  post:
    - mvn coveralls:report -DrepoToken=$COVERALLS_REPO_TOKEN
    - cp -R ./target/* $CIRCLE_ARTIFACTS/
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;


deployment:
  production:
    branch: master
    commands:
      - mvn package
      - chmod +x publish.sh
      - ./publish.sh
Copy Junit test reports to Circle CI test dir
[SKCP-26] Copy Junit test reports to Circle CI test dir
