From 3c4a1fa56b0763f2451f2798f70db5f15cdf1ad2 Mon Sep 17 00:00:00 2001 From: Pritimay Sarkar Date: Fri, 26 Jan 2024 08:41:00 +0530 Subject: [PATCH] change reports folder --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8aab42..12eed4c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,8 +94,10 @@ publishTestResults: stage: test script: - echo "Publishing JUnit test results" + - mkdir -p junit-reports + - find app/build/test-results -type f -name "testDebugUnitTest*.xml" -exec cp {} junit-reports/ \; needs: [debugTests] artifacts: when: always reports: - junit: app/build/test-results/testDebugUnitTest/*.xml + junit: junit-reports/*.xml \ No newline at end of file