You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by pn...@apache.org on 2022/03/18 11:16:15 UTC

[flink-benchmarks] branch master updated (f0d11a5 -> 9559695)

This is an automated email from the ASF dual-hosted git repository.

pnowojski pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink-benchmarks.git.


    from f0d11a5  [FLINK-26682] Add regression detection script
     new f63f03a  [hotfix] Do not spam slack with successful builds
     new 9559695  [hotfix] Move regression-check script to versioned jenkinsfile

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 jenkinsfiles/benchmark.jenkinsfile        |  4 ---
 jenkinsfiles/regression-check.jenkinsfile | 43 +++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 4 deletions(-)
 create mode 100644 jenkinsfiles/regression-check.jenkinsfile

[flink-benchmarks] 02/02: [hotfix] Move regression-check script to versioned jenkinsfile

Posted by pn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pnowojski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-benchmarks.git

commit 9559695a17776a72dde8c6a51ea77d182d97d25d
Author: Piotr Nowojski <pi...@gmail.com>
AuthorDate: Fri Mar 18 09:42:12 2022 +0100

    [hotfix] Move regression-check script to versioned jenkinsfile
---
 jenkinsfiles/regression-check.jenkinsfile | 43 +++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/jenkinsfiles/regression-check.jenkinsfile b/jenkinsfiles/regression-check.jenkinsfile
new file mode 100644
index 0000000..9299d6f
--- /dev/null
+++ b/jenkinsfiles/regression-check.jenkinsfile
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+timestamps {
+    try {
+        timeout(time: 3, unit: 'HOURS') { // includes waiting for a machine
+            node('Hetzner') {
+                dir('flink-benchmarks') {
+                    git url: 'https://github.com/apache/flink-benchmarks.git', branch: 'master'
+                    sh './regression_report.py > regression-report'
+                    def alerts = readFile "regression-report"
+                    if (alerts) {
+                         slackSend (message: "Performance regression\n$alerts", channel: "#flink-dev-benchmarks")
+                    }
+                }
+            }
+        }
+    }
+    catch (org.jenkinsci.plugins.workflow.steps.FlowInterruptedException err) {
+        slackSend (
+            channel: "#flink-dev-benchmarks",
+            message: "Build interrupted ${env.BUILD_NUMBER} of ${env.JOB_NAME} (<${env.BUILD_URL}|Open>): $err"
+        )
+    }
+    catch (err) {
+        slackSend (message: "Failed build ${env.BUILD_NUMBER} of ${env.JOB_NAME} (<${env.BUILD_URL}|Open>): $err", channel: "#flink-dev-benchmarks")
+        throw err
+    }
+}

[flink-benchmarks] 01/02: [hotfix] Do not spam slack with successful builds

Posted by pn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pnowojski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-benchmarks.git

commit f63f03a99e6f7e670cc9e49d2f64ccf0fc8025bb
Author: Piotr Nowojski <pi...@gmail.com>
AuthorDate: Fri Mar 18 09:40:16 2022 +0100

    [hotfix] Do not spam slack with successful builds
---
 jenkinsfiles/benchmark.jenkinsfile | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/jenkinsfiles/benchmark.jenkinsfile b/jenkinsfiles/benchmark.jenkinsfile
index 572eb0e..758e01d 100644
--- a/jenkinsfiles/benchmark.jenkinsfile
+++ b/jenkinsfiles/benchmark.jenkinsfile
@@ -64,10 +64,6 @@ timestamps {
                 }
                 stage('Cleanup') {
                     sh "rm -rf ~/.m2/repository/org/apache/flink/flink-shaded*"
-                    slackSend (
-                            channel: "#flink-dev-benchmarks",
-                            message: "Build finished ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)"
-                    )
                 }
             }
         }