machine:
  java:
    version: openjdk8
test:
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
machine:
  java:
    version: openjdk8
test:
  post:
    - mkdir -p "$CIRCLE_TEST_REPORTS/junit"
    - find . -type f -regex '.*/target/surefire-reports/.*xml' -exec cp {} "$CIRCLE_TEST_REPORTS/junit" \;
Add quotes for parameter expansions
Add quotes for parameter expansions
