From 54a64e542e86d3133352356ffa6912ed8040e6f0 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Sun, 19 Apr 2020 02:43:44 +0900 Subject: [PATCH] HADOOP-16944. Use Yetus 0.12.0 in GitHub PR (#1917) (cherry picked from commit 5576915236aba172cb5ab49b43111661590058af) --- Jenkinsfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 17e74661fc4..69a23fbb829 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,7 +35,7 @@ pipeline { DOCKERFILE = "${SOURCEDIR}/dev-support/docker/Dockerfile" YETUS='yetus' // Branch or tag name. Yetus release tags are 'rel/X.Y.Z' - YETUS_VERSION='rel/0.11.1' + YETUS_VERSION='rel/0.12.0' } parameters { @@ -61,7 +61,7 @@ pipeline { steps { withCredentials( [usernamePassword(credentialsId: 'apache-hadoop-at-github.com', - passwordVariable: 'GITHUB_PASSWORD', + passwordVariable: 'GITHUB_TOKEN', usernameVariable: 'GITHUB_USER'), usernamePassword(credentialsId: 'hadoopqa-at-asf-jira', passwordVariable: 'JIRA_PASSWORD', @@ -105,8 +105,7 @@ pipeline { YETUS_ARGS+=("--html-report-file=${WORKSPACE}/${PATCHDIR}/report.html") # enable writing back to Github - YETUS_ARGS+=(--github-password="${GITHUB_PASSWORD}") - YETUS_ARGS+=(--github-user=${GITHUB_USER}) + YETUS_ARGS+=(--github-token="${GITHUB_TOKEN}") # enable writing back to ASF JIRA YETUS_ARGS+=(--jira-password="${JIRA_PASSWORD}")