From 3f671cfcace8552a32b78a9e3327394d85f863ba Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 29 Aug 2018 10:25:32 +0200 Subject: SONAR-11268 replace Jenkins by Cirrus CI --- server/sonar-docs/build.gradle | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'server/sonar-docs/build.gradle') diff --git a/server/sonar-docs/build.gradle b/server/sonar-docs/build.gradle index da6ca1ed14a..73b8598d188 100644 --- a/server/sonar-docs/build.gradle +++ b/server/sonar-docs/build.gradle @@ -10,15 +10,21 @@ group = 'com.sonarsource.sonarqube' yarn_run { inputs.dir('src').withPathSensitivity(PathSensitivity.RELATIVE) - ['gatsby-config.js', 'gatsby-node.js', 'package.json', 'yarn.lock'].each { + ['gatsby-config.js', 'gatsby-node.js', 'package.json'].each { inputs.file(it).withPathSensitivity(PathSensitivity.RELATIVE) } outputs.dir('public') outputs.cacheIf { true } - args = ['build'] } +task yarn_validate() { + +} +task "yarn_lint-report"() { + +} + task zip(type: Zip) { def archiveDir = "sonarqube-docs-$version" duplicatesStrategy DuplicatesStrategy.EXCLUDE -- cgit v1.2.3