You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2021/10/03 13:50:51 UTC

[hbase] branch HBASE-26318 updated (baf53dd -> 1cf0c10)

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

zhangduo pushed a change to branch HBASE-26318
in repository https://gitbox.apache.org/repos/asf/hbase.git.


 discard baf53dd  test logs
 discard 0a7237e  HBASE-26318 Publish test logs for flaky jobs to nightlies
     new 1cf0c10  HBASE-26318 Publish test logs for flaky jobs to nightlies

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (baf53dd)
            \
             N -- N -- N   refs/heads/HBASE-26318 (1cf0c10)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 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:
 dev-support/flaky-tests/run-flaky-tests.Jenkinsfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

[hbase] 01/01: HBASE-26318 Publish test logs for flaky jobs to nightlies

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

zhangduo pushed a commit to branch HBASE-26318
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 1cf0c10eba24ba61e2f955567843fffd7f88139e
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Sun Oct 3 21:47:55 2021 +0800

    HBASE-26318 Publish test logs for flaky jobs to nightlies
---
 dev-support/flaky-tests/run-flaky-tests.Jenkinsfile | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile b/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile
index 0ba200b..594000e 100644
--- a/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile
+++ b/dev-support/flaky-tests/run-flaky-tests.Jenkinsfile
@@ -29,6 +29,9 @@ pipeline {
     timeout (time: 2, unit: 'HOURS')
     timestamps()
   }
+  environment {
+    ASF_NIGHTLIES = 'https://nightlies.apache.org'
+  }
   parameters {
     booleanParam(name: 'DEBUG', defaultValue: false, description: 'Produce a lot more meta-information.')
   }
@@ -72,8 +75,19 @@ pipeline {
   post {
     always {
       junit testResults: "**/surefire-reports/*.xml", allowEmptyResults: true
-      // TODO compress these logs
-      archiveArtifacts artifacts: 'includes.txt,**/surefire-reports/*,**/test-data/*,target/machine/*'
+      sshPublisher(publishers: [
+        sshPublisherDesc(configName: 'Nightlies',
+          transfers: [
+            sshTransfer(remoteDirectory: "hbase/${JOB_NAME}/${BUILD_NUMBER}",
+              sourceFiles: "**/surefire-reports/*,**/test-data/*"
+            )
+          ]
+        )
+      ])
+      sh '''#!/bin/bash -e
+        echo "${ASF_NIGHTLIES}/hbase/${JOB_NAME}/${BUILD_NUMBER}" > "test_logs.txt"
+      '''
+      archiveArtifacts artifacts: 'includes.txt,test_logs.txt,target/machine/*'
     }
   }
 }