You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by je...@apache.org on 2021/02/18 16:36:26 UTC

[tez] branch branch-0.9 updated: TEZ-4291: Fancy precommit report on PR (#112)

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

jeagles pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/tez.git


The following commit(s) were added to refs/heads/branch-0.9 by this push:
     new 72669dd  TEZ-4291: Fancy precommit report on PR (#112)
72669dd is described below

commit 72669dd3d8af8d4402b1f95f7f68ce1367295f2a
Author: Bodor Laszlo <bo...@gmail.com>
AuthorDate: Thu Feb 18 17:35:19 2021 +0100

    TEZ-4291: Fancy precommit report on PR (#112)
    
    (cherry picked from commit 2fefe4a6b16bea8f02169ec2e2a6e89575440328)
---
 Jenkinsfile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 1d62646..835a052 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -52,7 +52,7 @@ pipeline {
                     checkout([
                         $class: 'GitSCM',
                         branches: [[name: "${env.YETUS_VERSION}"]],
-                        userRemoteConfigs: [[ url: 'https://github.com/jteagles/yetus']]]
+                        userRemoteConfigs: [[ url: 'https://github.com/apache/yetus']]]
                     )
                 }
             }
@@ -61,8 +61,8 @@ pipeline {
         stage ('precommit-run') {
             steps {
                 withCredentials(
-                    [usernamePassword(credentialsId: 'apache-tez-at-github.com',
-                                        passwordVariable: 'GITHUB_PASSWD',
+                    [usernamePassword(credentialsId: 'apache-hadoop-at-github.com',
+                                        passwordVariable: 'GITHUB_TOKEN',
                                         usernameVariable: 'GITHUB_USER'),
                                         usernamePassword(credentialsId: 'tez-ci',
                                         passwordVariable: 'JIRA_PASSWORD',
@@ -106,7 +106,7 @@ pipeline {
 
                         # enable writing back to Github
                         YETUS_ARGS+=(--github-user="${GITHUB_USER}")
-                        YETUS_ARGS+=(--github-password="${GITHUB_PASSWD}")
+                        YETUS_ARGS+=(--github-token="${GITHUB_TOKEN}")
 
                         # enable writing back to ASF JIRA
                         YETUS_ARGS+=(--jira-password="${JIRA_PASSWORD}")
@@ -153,6 +153,9 @@ pipeline {
                         # help keep the ASF boxes clean
                         YETUS_ARGS+=("--sentinel")
 
+                        # use emoji vote so it is easier to find the broken line
+                        YETUS_ARGS+=("--github-use-emoji-vote")
+
                         # test with Java 8 and 11
                         YETUS_ARGS+=("--java-home=/usr/lib/jvm/java-8-openjdk-amd64")
                         YETUS_ARGS+=("--multijdkdirs=/usr/lib/jvm/java-11-openjdk-amd64")