diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-08-29 10:25:32 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2018-09-19 10:51:43 +0200 |
commit | 3f671cfcace8552a32b78a9e3327394d85f863ba (patch) | |
tree | 0b6e92572551dc464d0e90ee5e3ae217dbf6305b /server/sonar-docs/build.gradle | |
parent | 6ab822a9d79091837ee96ff27317597bbb6c6e5e (diff) | |
download | sonarqube-3f671cfcace8552a32b78a9e3327394d85f863ba.tar.gz sonarqube-3f671cfcace8552a32b78a9e3327394d85f863ba.zip |
SONAR-11268 replace Jenkins by Cirrus CI
Diffstat (limited to 'server/sonar-docs/build.gradle')
-rw-r--r-- | server/sonar-docs/build.gradle | 10 |
1 files changed, 8 insertions, 2 deletions
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 |