aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/build.gradle
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2019-03-27 19:45:34 +0100
committerSonarTech <sonartech@sonarsource.com>2019-03-29 20:21:42 +0100
commit501e72e965b6a9ad4f74ac2b92c1a1b2fccc983d (patch)
tree379aa018353ac69cf4db4d1ed08286b42a710c9b /server/sonar-docs/build.gradle
parentb4f692f291788ad1c8019c78a39914b44c0d1719 (diff)
downloadsonarqube-501e72e965b6a9ad4f74ac2b92c1a1b2fccc983d.tar.gz
sonarqube-501e72e965b6a9ad4f74ac2b92c1a1b2fccc983d.zip
Fix clean-up of sonar-docs temp dir
Diffstat (limited to 'server/sonar-docs/build.gradle')
-rw-r--r--server/sonar-docs/build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-docs/build.gradle b/server/sonar-docs/build.gradle
index b26889a8fa7..73b3811f8a0 100644
--- a/server/sonar-docs/build.gradle
+++ b/server/sonar-docs/build.gradle
@@ -8,6 +8,10 @@ sonarqube {
group = 'com.sonarsource.sonarqube'
+clean.doFirst {
+ delete "${project.baseDir}/public/"
+}
+
yarn_run {
environment = [ GATSBY_DOCS_VERSION: version ]
inputs.property('version', version)