You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2018/02/24 01:07:28 UTC
[incubator-openwhisk] branch master updated: Configure Gradle build
scan plugin (#3314)
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new d6677bc Configure Gradle build scan plugin (#3314)
d6677bc is described below
commit d6677bcd4c928822feac788c6f0b1be5234ee0a8
Author: Chetan Mehrotra <ch...@apache.org>
AuthorDate: Sat Feb 24 06:37:24 2018 +0530
Configure Gradle build scan plugin (#3314)
---
build.gradle | 10 ++++++++++
tools/build/README.md | 13 +++++++++++++
2 files changed, 23 insertions(+)
diff --git a/build.gradle b/build.gradle
index e53f40f..b91005e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,6 +7,16 @@ buildscript {
}
}
+plugins {
+ id "com.gradle.build-scan" version "1.12.1"
+}
+
+buildScan {
+ termsOfServiceUrl = 'https://gradle.com/terms-of-service'
+ termsOfServiceAgree = 'yes'
+ publishAlwaysIf(System.getenv('CI') != null)
+}
+
subprojects {
apply plugin: 'scalafmt'
scalafmt.configFilePath = gradle.scalafmt.config
diff --git a/tools/build/README.md b/tools/build/README.md
index 0c369cb..29a2121 100644
--- a/tools/build/README.md
+++ b/tools/build/README.md
@@ -68,6 +68,19 @@ The logs are saved to `./B-build.log` and can be reprocessed using `citool` with
citool -i -b B cat -s -g "tid_124" whisk/logs N
```
+## Gradle Build Scan Integration
+
+OpenWhisk builds on CI setups have [Gradle Build Scan](https://gradle.com/build-scans) integrated. Each build on travis pushes scan reports to
+[Gradle Scan Community Hosted Server](https://scans.gradle.com). To see the scan report you need to check the travis build logs for lines like
+below
+
+```
+Publishing build scan...
+https://gradle.com/s/reldo4qqlg3ka
+```
+
+The url above is the scan report url and is unique per build
+
## Troubleshooting
If you encounter an error `ImportError: No module named pkg_resources` while running `redo`, try the workaround below
--
To stop receiving notification emails like this one, please contact
csantanapr@apache.org.