Skip to content

Commit

Permalink
Per #2537, fix cut/paste error configure_sonarqube.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Apr 4, 2024
1 parent 2884d4b commit 5bc27c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/jobs/configure_sonarqube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
SONAR_PROPERTIES_DIR=internal/scripts/sonarqube
SONAR_PROPERTIES=sonar-project.properties

# Check that this is being run from the top-level METdataio directory
# Check that this is being run from the top-level METplus directory
if [ ! -e $SONAR_PROPERTIES_DIR/$SONAR_PROPERTIES ]; then
echo "ERROR: ${0} -> must be run from the top-level METdataio directory"
echo "ERROR: ${0} -> must be run from the top-level METplus directory"
exit 1
fi

Expand Down Expand Up @@ -47,8 +47,8 @@ fi

# Configure the sonar-project.properties
[ -e $SONAR_PROPERTIES ] && rm $SONAR_PROPERTIES
sed -e "s|SONAR_PROJECT_KEY|METdataio-GHA|" \
-e "s|SONAR_PROJECT_NAME|METdataio GHA|" \
sed -e "s|SONAR_PROJECT_KEY|METplus-GHA|" \
-e "s|SONAR_PROJECT_NAME|METplus GHA|" \
-e "s|SONAR_PROJECT_VERSION|$SONAR_PROJECT_VERSION|" \
-e "s|SONAR_HOST_URL|$SONAR_HOST_URL|" \
-e "s|SONAR_TOKEN|$SONAR_TOKEN|" \
Expand Down

0 comments on commit 5bc27c1

Please sign in to comment.