Skip to content

Commit 7d17ca0

Browse files
authored
Fix SONAR_HOME path variable for Windows (#1221)
1 parent 627c5b3 commit 7d17ca0

File tree

1 file changed

+3
-3
lines changed
  • scripts/src/main/resources/scripts/command

1 file changed

+3
-3
lines changed

scripts/src/main/resources/scripts/command/sonar

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ function doSonar() {
3838
then
3939
if [ "${1}" = "start" ]
4040
then
41-
#"${SONARQUBE_HOME}/bin/windows-x86-64/SonarService.bat"
42-
"${SONARQUBE_HOME}/bin/windows-x86-64/StartSonar.bat"
41+
#"${SONAR_HOME}/bin/windows-x86-64/SonarService.bat"
42+
"${SONAR_HOME}/bin/windows-x86-64/StartSonar.bat"
4343
elif [ "${1}" = "stop" ]
4444
then
45-
"${SONARQUBE_HOME}/bin/windows-x86-64/SonarService.bat" stop
45+
"${SONAR_HOME}/bin/windows-x86-64/SonarService.bat" stop
4646
else
4747
doFail "Unknown sonar command: ${1}"
4848
fi

0 commit comments

Comments
 (0)