aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/build.gradle
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2022-08-19 11:57:50 +0200
committersonartech <sonartech@sonarsource.com>2022-08-25 20:03:09 +0000
commit42b991ea66289c10791b7b2e60c9e693fd58f425 (patch)
treea3582513e11f386d482803f5d8baeedc68f7520a /sonar-application/build.gradle
parent1e297c135a922f1a1049ed9ff5169f25e19658d8 (diff)
downloadsonarqube-42b991ea66289c10791b7b2e60c9e693fd58f425.tar.gz
sonarqube-42b991ea66289c10791b7b2e60c9e693fd58f425.zip
SONAR-17224 Fix WinSW not reading environment variable
Diffstat (limited to 'sonar-application/build.gradle')
-rw-r--r--sonar-application/build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle
index e2e6e4e40b7..9dcb2311151 100644
--- a/sonar-application/build.gradle
+++ b/sonar-application/build.gradle
@@ -140,7 +140,7 @@ task zip(type: Zip, dependsOn: [configurations.compileClasspath, tasks.downloadL
}
from(file('src/main/assembly')) {
exclude 'conf/sonar.properties'
- exclude 'bin/windows-x86-64/lib/SonarServiceWrapper.xml'
+ exclude 'bin/windows-x86-64/lib/SonarServiceWrapperTemplate.xml'
exclude 'bin/windows-x86-64/StartSonar.bat'
exclude 'elasticsearch-patch'
exclude 'bin/linux-x86-64/sonar.sh'
@@ -246,7 +246,7 @@ task zip(type: Zip, dependsOn: [configurations.compileClasspath, tasks.downloadL
}
into("${archiveDir}/bin/windows-x86-64/lib/") {
- from file('src/main/assembly/bin/windows-x86-64/lib/SonarServiceWrapper.xml')
+ from file('src/main/assembly/bin/windows-x86-64/lib/SonarServiceWrapperTemplate.xml')
filter(ReplaceTokens, tokens: [
'sqversion': version
])