aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/build.gradle')
-rw-r--r--server/sonar-web/build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/build.gradle b/server/sonar-web/build.gradle
index 17ceecbd5dc..7e99f19ef1d 100644
--- a/server/sonar-web/build.gradle
+++ b/server/sonar-web/build.gradle
@@ -27,6 +27,7 @@ yarn_run {
inputs.property('official', official)
inputs.property('release', release)
+ inputs.property('ci', ci)
['config', 'public', 'scripts', 'src', '../sonar-docs/src'].each {
inputs.dir(it).withPathSensitivity(PathSensitivity.RELATIVE)
@@ -36,7 +37,7 @@ yarn_run {
}
outputs.dir(webappDir)
outputs.cacheIf { true }
- args = [release ? 'build-release' : 'build']
+ args = [release || ci ? 'build-release' : 'build']
}
build.dependsOn(yarn_run)