From 6470376da0e050b4cb82d0afe418d6c657c08143 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Thu, 18 Apr 2024 16:01:33 -0600 Subject: [PATCH] Per #521, switch to running the sonar-scanner. --- internal/scripts/sonarqube/build_sonar.xml | 645 ------------------ .../sonarqube/sonar-project.properties | 13 + 2 files changed, 13 insertions(+), 645 deletions(-) delete mode 100644 internal/scripts/sonarqube/build_sonar.xml create mode 100644 internal/scripts/sonarqube/sonar-project.properties diff --git a/internal/scripts/sonarqube/build_sonar.xml b/internal/scripts/sonarqube/build_sonar.xml deleted file mode 100644 index d363b574..00000000 --- a/internal/scripts/sonarqube/build_sonar.xml +++ /dev/null @@ -1,645 +0,0 @@ - - - METViewer build file - - - - - - - - - - - - - - - - - - ${SONAR_REFERENCE_BRANCH_PROPERTY} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - You must specify the path to METcalcpy directory - You must specify the path to METplotpy directory - You must specify the path to METdataio directory - You must specify the path to METviewer_py3.6.3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/internal/scripts/sonarqube/sonar-project.properties b/internal/scripts/sonarqube/sonar-project.properties new file mode 100644 index 00000000..3586fc31 --- /dev/null +++ b/internal/scripts/sonarqube/sonar-project.properties @@ -0,0 +1,13 @@ +# Project and source code settings +sonar.projectKey=METviewer +sonar.projectName=METviewer +sonar.projectVersion=SONAR_PROJECT_VERSION +sonar.branch.name=SONAR_BRANCH_NAME +sonar.sources=java +sonar.java.libraries=dist/lib +sonar.java.binaries=dist/metviewer/WEB-INF/classes +sonar.sourceEncoding=UTF-8 + +# SonarQube server +sonar.host.url=SONAR_HOST_URL +sonar.token=SONAR_TOKEN