aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/build.gradle
diff options
context:
space:
mode:
authorEvgeny Mandrikov <138671+Godin@users.noreply.github.com>2019-06-07 07:37:54 +0200
committerSonarTech <sonartech@sonarsource.com>2019-06-07 20:21:13 +0200
commit2ef053d67d609478dbc73f3c508b832ee6c490c9 (patch)
tree430f025008b7ab24c4ff1a72b36d710dbc1a4a72 /server/sonar-web/build.gradle
parentf5c0986aeccd907b7a87679261ddd5e28895b802 (diff)
downloadsonarqube-2ef053d67d609478dbc73f3c508b832ee6c490c9.tar.gz
sonarqube-2ef053d67d609478dbc73f3c508b832ee6c490c9.zip
Build task ":server:sonar-web:yarn_run" should produce same result outside of CI
While this adds quite some overhead, benefit is that remote Gradle cache entry can be used locally.
Diffstat (limited to 'server/sonar-web/build.gradle')
-rw-r--r--server/sonar-web/build.gradle5
1 files changed, 1 insertions, 4 deletions
diff --git a/server/sonar-web/build.gradle b/server/sonar-web/build.gradle
index 1e43c8221a5..8b263be253c 100644
--- a/server/sonar-web/build.gradle
+++ b/server/sonar-web/build.gradle
@@ -15,9 +15,6 @@ apply plugin: 'com.moowork.node'
def webappDir = "${buildDir}/webapp"
yarn_run {
- inputs.property('release', release)
- inputs.property('ci', ci)
-
['config', 'public', 'scripts', 'src', '../sonar-docs/src'].each {
inputs.dir(it).withPathSensitivity(PathSensitivity.RELATIVE)
}
@@ -26,7 +23,7 @@ yarn_run {
}
outputs.dir(webappDir)
outputs.cacheIf { true }
- args = [release || ci ? 'build-release' : 'build']
+ args = ['build-release']
}
build.dependsOn(yarn_run)