Skip to content
Snippets Groups Projects
Verified Commit a548c9d6 authored by Martin Weise's avatar Martin Weise
Browse files

Fix badges

parent 0c8dc6fe
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,6 @@ if [ "${PIPELINE_COVERAGE}" != "null" ]; then ...@@ -9,6 +9,6 @@ if [ "${PIPELINE_COVERAGE}" != "null" ]; then
else else
echo "[WARNING] Skipping badge generation, displaying default badge text: unknown" echo "[WARNING] Skipping badge generation, displaying default badge text: unknown"
fi fi
curl "${SONARQUBE_URL}/api/project_badges/measure?project=fair-data-austria-db-repository_fda-services_a57fa043-ab99-4cdd-a721-162d9a916d77&metric=sqale_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/maintainability.svg" curl "${CI_SONAR_URL}/api/project_badges/measure?project=${CI_SONAR_PROJECT_KEY}&metric=sqale_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/maintainability.svg"
curl "${SONARQUBE_URL}/api/project_badges/measure?project=fair-data-austria-db-repository_fda-services_a57fa043-ab99-4cdd-a721-162d9a916d77&metric=security_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/security.svg" curl "${CI_SONAR_URL}/api/project_badges/measure?project=${CI_SONAR_PROJECT_KEY}&metric=security_rating&token=${CI_SONAR_TOKEN}" > "./final/${DOC_VERSION}/images/security.svg"
echo "[INFO] retrieved SonarQube badges" echo "[INFO] retrieved SonarQube badges"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment