beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tg...@apache.org
Subject [1/2] beam git commit: Stop emailing individual committers in Performance tests
Date Mon, 27 Mar 2017 16:55:23 GMT
Repository: beam
Updated Branches:
  refs/heads/master c6bd668cf -> 61fad2a66


Stop emailing individual committers in Performance tests

Signed-off-by: Jason Kuster <jasonkuster@google.com>


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/e854909c
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/e854909c
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/e854909c

Branch: refs/heads/master
Commit: e854909c903c5e2737b7918d6946310bcb86252a
Parents: c6bd668
Author: Jason Kuster <jasonkuster@google.com>
Authored: Mon Mar 27 09:52:46 2017 -0700
Committer: Thomas Groh <tgroh@google.com>
Committed: Mon Mar 27 09:54:41 2017 -0700

----------------------------------------------------------------------
 .jenkins/common_job_properties.groovy              |  5 +++--
 .jenkins/job_beam_PerformanceTests_Dataflow.groovy | 10 ++++++++--
 .jenkins/job_beam_PerformanceTests_JDBC.groovy     | 10 ++++++++--
 .jenkins/job_beam_PerformanceTests_Spark.groovy    | 10 ++++++++--
 4 files changed, 27 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/e854909c/.jenkins/common_job_properties.groovy
----------------------------------------------------------------------
diff --git a/.jenkins/common_job_properties.groovy b/.jenkins/common_job_properties.groovy
index c1dcdd1..ee10281 100644
--- a/.jenkins/common_job_properties.groovy
+++ b/.jenkins/common_job_properties.groovy
@@ -206,7 +206,8 @@ class common_job_properties {
   static void setPostCommit(context,
                             String buildSchedule = '0 */6 * * *',
                             boolean triggerEveryPush = true,
-                            String notifyAddress = 'commits@beam.apache.org') {
+                            String notifyAddress = 'commits@beam.apache.org',
+                            boolean emailIndividuals = true) {
     // Set build triggers
     context.triggers {
       // By default runs every 6 hours.
@@ -218,7 +219,7 @@ class common_job_properties {
 
     context.publishers {
       // Notify an email address for each failed build (defaults to commits@).
-      mailer(notifyAddress, false, true)
+      mailer(notifyAddress, false, emailIndividuals)
     }
   }
 

http://git-wip-us.apache.org/repos/asf/beam/blob/e854909c/.jenkins/job_beam_PerformanceTests_Dataflow.groovy
----------------------------------------------------------------------
diff --git a/.jenkins/job_beam_PerformanceTests_Dataflow.groovy b/.jenkins/job_beam_PerformanceTests_Dataflow.groovy
index f79302a..51c73f3 100644
--- a/.jenkins/job_beam_PerformanceTests_Dataflow.groovy
+++ b/.jenkins/job_beam_PerformanceTests_Dataflow.groovy
@@ -23,8 +23,14 @@ job('beam_PerformanceTests_Dataflow'){
     // Set default Beam job properties.
     common_job_properties.setTopLevelMainJobProperties(delegate)
 
-    // Run job in postcommit every 6 hours and don't trigger every push.
-    common_job_properties.setPostCommit(delegate, '0 */6 * * *', false)
+    // Run job in postcommit every 6 hours, don't trigger every push, and
+    // don't email individual committers.
+    common_job_properties.setPostCommit(
+        delegate,
+        '0 */6 * * *',
+        false,
+        'commits@beam.apache.org',
+        false)
 
     def argMap = [
       benchmarks: 'dpb_wordcount_benchmark',

http://git-wip-us.apache.org/repos/asf/beam/blob/e854909c/.jenkins/job_beam_PerformanceTests_JDBC.groovy
----------------------------------------------------------------------
diff --git a/.jenkins/job_beam_PerformanceTests_JDBC.groovy b/.jenkins/job_beam_PerformanceTests_JDBC.groovy
index 153400b..8e581c2 100644
--- a/.jenkins/job_beam_PerformanceTests_JDBC.groovy
+++ b/.jenkins/job_beam_PerformanceTests_JDBC.groovy
@@ -23,8 +23,14 @@ job('beam_PerformanceTests_JDBC'){
     // Set default Beam job properties.
     common_job_properties.setTopLevelMainJobProperties(delegate)
 
-    // Run job in postcommit every 6 hours and don't trigger every push.
-    common_job_properties.setPostCommit(delegate, '0 */6 * * *', false)
+    // Run job in postcommit every 6 hours, don't trigger every push, and
+    // don't email individual committers.
+    common_job_properties.setPostCommit(
+        delegate,
+        '0 */6 * * *',
+        false,
+        'commits@beam.apache.org',
+        false)
 
     def pipelineArgs = [
         tempRoot: 'gs://temp-storage-for-end-to-end-tests',

http://git-wip-us.apache.org/repos/asf/beam/blob/e854909c/.jenkins/job_beam_PerformanceTests_Spark.groovy
----------------------------------------------------------------------
diff --git a/.jenkins/job_beam_PerformanceTests_Spark.groovy b/.jenkins/job_beam_PerformanceTests_Spark.groovy
index 06a41fd..ba719bf 100644
--- a/.jenkins/job_beam_PerformanceTests_Spark.groovy
+++ b/.jenkins/job_beam_PerformanceTests_Spark.groovy
@@ -23,8 +23,14 @@ job('beam_PerformanceTests_Spark'){
     // Set default Beam job properties.
     common_job_properties.setTopLevelMainJobProperties(delegate)
 
-    // Run job in postcommit every 6 hours and don't trigger every push.
-    common_job_properties.setPostCommit(delegate, '0 */6 * * *', false)
+    // Run job in postcommit every 6 hours, don't trigger every push, and
+    // don't email individual committers.
+    common_job_properties.setPostCommit(
+        delegate,
+        '0 */6 * * *',
+        false,
+        'commits@beam.apache.org',
+        false)
 
     def argMap = [
       benchmarks: 'dpb_wordcount_benchmark',


Mime
View raw message