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 2020/08/24 02:27:03 UTC

[hbase] branch HBASE-24938 updated (12a6488 -> 58ec623)

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

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


 discard 12a6488  HBASE-24938 Use asf-ci credentials in pre commit jenkins job
     new 58ec623  HBASE-24938 Use asf-ci credentials in pre commit jenkins job

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   (12a6488)
            \
             N -- N -- N   refs/heads/HBASE-24938 (58ec623)

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/Jenkinsfile_GitHub | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)


[hbase] 01/01: HBASE-24938 Use asf-ci credentials in pre commit jenkins job

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

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

commit 58ec62313a37674fd3b7cccc0d86f098cce769f9
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Mon Aug 24 10:26:19 2020 +0800

    HBASE-24938 Use asf-ci credentials in pre commit jenkins job
---
 dev-support/Jenkinsfile_GitHub | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/dev-support/Jenkinsfile_GitHub b/dev-support/Jenkinsfile_GitHub
index d314ba4..424cdaf 100644
--- a/dev-support/Jenkinsfile_GitHub
+++ b/dev-support/Jenkinsfile_GitHub
@@ -52,6 +52,10 @@ pipeline {
         WORKDIR_REL_GENERAL_CHECK = 'yetus-general-check'
         WORKDIR_REL_JDK8_HADOOP3_CHECK = 'yetus-jdk8-hadoop3-check'
         WORKDIR_REL_JDK11_HADOOP3_CHECK = 'yetus-jdk11-hadoop3-check'
+
+        // The asf-ci credentials on jenkins just contains the GitHub access token stored with 'Secret Text' type.
+        // Let's declare the GITHUB_USER here
+        GITHUB_USER = 'asf-ci'
     }
 
     parameters {
@@ -96,10 +100,9 @@ pipeline {
                         }
                         dir("${WORKDIR}") {
                             withCredentials([
-                                usernamePassword(
-                                  credentialsId: 'apache-hbase-at-github.com',
-                                  passwordVariable: 'GITHUB_PASSWORD',
-                                  usernameVariable: 'GITHUB_USER'
+                                string(
+                                  credentialsId: 'asf-ci',
+                                  variable: 'GITHUB_PASSWORD'
                                 )]) {
                                 sh label: 'test-patch', script: '''#!/bin/bash -e
                                     hostname -a ; pwd ; ls -la
@@ -182,10 +185,9 @@ pipeline {
                         }
                         dir("${WORKDIR}") {
                             withCredentials([
-                              usernamePassword(
-                                credentialsId: 'apache-hbase-at-github.com',
-                                passwordVariable: 'GITHUB_PASSWORD',
-                                usernameVariable: 'GITHUB_USER'
+                              string(
+                                credentialsId: 'asf-ci',
+                                variable: 'GITHUB_PASSWORD'
                               )]) {
                                 sh label: 'test-patch', script: '''#!/bin/bash -e
                                     hostname -a ; pwd ; ls -la
@@ -282,10 +284,9 @@ pipeline {
                         }
                         dir("${WORKDIR}") {
                             withCredentials([
-                              usernamePassword(
-                                credentialsId: 'apache-hbase-at-github.com',
-                                passwordVariable: 'GITHUB_PASSWORD',
-                                usernameVariable: 'GITHUB_USER'
+                              string(
+                                credentialsId: 'asf-ci',
+                                variable: 'GITHUB_PASSWORD'
                               )]) {
                                 sh label: 'test-patch', script: '''#!/bin/bash -e
                                     hostname -a ; pwd ; ls -la