You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ie...@apache.org on 2020/07/03 09:03:32 UTC
[james-project] 29/34: JAMES-3225 #comment Added gradle enterprise
for build scans + debug failing test
This is an automated email from the ASF dual-hosted git repository.
ieugen pushed a commit to branch JAMES-3260-gradle-poc
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 6c054d1e1169680b0e3e6d0f2b73cbe42e647d55
Author: Eugen Stan <ie...@apache.org>
AuthorDate: Thu Jul 2 12:30:34 2020 +0300
JAMES-3225 #comment Added gradle enterprise for build scans + debug failing test
* Some unit tests are faling on Jenkins
---
Jenkinsfile | 2 ++
settings.gradle | 10 ++++++++++
2 files changed, 12 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index b83f47f..2fca524 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -44,11 +44,13 @@ pipeline {
logRotator(artifactNumToKeepStr: '5', numToKeepStr: '10')
)
disableConcurrentBuilds()
+
}
stages {
stage('Build') {
steps {
+ sh "./gradlew clean :apache-mailet:apache-mailet-standard:test --debug --stacktrace --scan"
sh "./gradlew clean build -x test"
}
}
diff --git a/settings.gradle b/settings.gradle
index c57f77e..eb93a91 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,6 +1,16 @@
/*
* This file was generated by the Gradle 'init' task.
*/
+plugins {
+ id "com.gradle.enterprise" version "3.3.4"
+}
+
+gradleEnterprise {
+ buildScan {
+ termsOfServiceUrl = "https://gradle.com/terms-of-service"
+ termsOfServiceAgree = "yes"
+ }
+}
rootProject.name = 'james-project'
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org