From 6e3424ce6b8d79415ed0e7ad7a93af1da1366213 Mon Sep 17 00:00:00 2001 From: Martin Seidel Date: Tue, 14 Jul 2026 14:25:15 +0200 Subject: [PATCH 1/2] QEA-1494: push JUnit test results from ci.yml to test-monitoring Co-Authored-By: Claude Fable 5 --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fc4443..36829ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,3 +34,26 @@ jobs: - name: Run UI tests run: make test + + - name: Upload JUnit XML report + if: ${{ always() }} + uses: actions/upload-artifact@v7 + with: + name: junit-xml-${{ matrix.java }} + path: '**/target/surefire-reports/*.xml' + retention-days: 1 + if-no-files-found: warn + + push-test-results: + name: Push test results + if: ${{ always() }} + needs: [build-test] + uses: Staffbase/test-monitoring-connector-junit/.github/workflows/connector-junit.yml@a695b35c6b678742bc696a378dc9a307e96cebcd # includes module-fetch retry fix (test-monitoring-connector-junit#12) + with: + artifact-pattern: junit-xml-* + glob: '**/target/surefire-reports/*.xml' + connector-version: a695b35c6b678742bc696a378dc9a307e96cebcd # v2026.28.2 (per-test started_at fix) + app-id: ${{ vars.STAFFBASE_ACTIONS_APP_ID }} + secrets: + service-secret: ${{ secrets.TEST_MONITORING_SERVICE_SECRET }} + app-private-key: ${{ secrets.STAFFBASE_ACTIONS_PRIVATE_KEY }} From 036f37a32962d0291f993a2722e4791d93bd3d6f Mon Sep 17 00:00:00 2001 From: Martin Seidel Date: Tue, 14 Jul 2026 14:37:16 +0200 Subject: [PATCH 2/2] QEA-1494: use STAFFBASE_ACTIONS_CLIENT_ID org var STAFFBASE_ACTIONS_APP_ID is deprecated. Co-Authored-By: Claude Fable 5 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36829ee..3359273 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: artifact-pattern: junit-xml-* glob: '**/target/surefire-reports/*.xml' connector-version: a695b35c6b678742bc696a378dc9a307e96cebcd # v2026.28.2 (per-test started_at fix) - app-id: ${{ vars.STAFFBASE_ACTIONS_APP_ID }} + app-id: ${{ vars.STAFFBASE_ACTIONS_CLIENT_ID }} secrets: service-secret: ${{ secrets.TEST_MONITORING_SERVICE_SECRET }} app-private-key: ${{ secrets.STAFFBASE_ACTIONS_PRIVATE_KEY }}