From 15ea2eb55ab2ad3c4c1c72c52dce3e9656870c0e Mon Sep 17 00:00:00 2001 From: Federico D'Ulizia Date: Thu, 19 Dec 2024 10:28:44 +0100 Subject: [PATCH] Revert "[AAE-28943] move uploading coverage inside the build" This reverts commit 0c5de41b --- .github/actions/maven-build-and-tag/action.yml | 6 ------ .github/actions/process-coverage-report/action.yml | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index 395738170..e121248c0 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -248,12 +248,6 @@ runs: MAVEN_USERNAME: ${{ inputs.maven-username }} MAVEN_PASSWORD: ${{ inputs.maven-password }} - - name: Load JaCoCo report on SonarCloud - shell: bash - run: | - mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=alfresco -Dsonar.projectKey=Alfresco_hxp-studio-services - - - name: Remove running docker containers if: inputs.reuse-testcontainers == 'true' shell: bash diff --git a/.github/actions/process-coverage-report/action.yml b/.github/actions/process-coverage-report/action.yml index 94d301463..174d9f91e 100644 --- a/.github/actions/process-coverage-report/action.yml +++ b/.github/actions/process-coverage-report/action.yml @@ -1,6 +1,9 @@ name: 'Process Coverage Report' description: 'Process the generated coverage for further reporting, uses JaCoCo-report plugin' inputs: + sonar_token: + description: 'SonarCloud token to upload the coverage report' + required: true paths: description: 'Comma separated paths of the generated JaCoCo xml files (supports wildcard glob pattern)' required: true