HADOOP-16944. Use Yetus 0.12.0 in GitHub PR (#1917)

(cherry picked from commit 5576915236)
This commit is contained in:
Akira Ajisaka 2020-04-19 02:43:44 +09:00
parent 73cb3d3cb3
commit ce87784771
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 3 additions and 4 deletions

7
Jenkinsfile vendored
View File

@ -35,7 +35,7 @@ pipeline {
DOCKERFILE = "${SOURCEDIR}/dev-support/docker/Dockerfile" DOCKERFILE = "${SOURCEDIR}/dev-support/docker/Dockerfile"
YETUS='yetus' YETUS='yetus'
// Branch or tag name. Yetus release tags are 'rel/X.Y.Z' // 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 { parameters {
@ -61,7 +61,7 @@ pipeline {
steps { steps {
withCredentials( withCredentials(
[usernamePassword(credentialsId: 'apache-hadoop-at-github.com', [usernamePassword(credentialsId: 'apache-hadoop-at-github.com',
passwordVariable: 'GITHUB_PASSWORD', passwordVariable: 'GITHUB_TOKEN',
usernameVariable: 'GITHUB_USER'), usernameVariable: 'GITHUB_USER'),
usernamePassword(credentialsId: 'hadoopqa-at-asf-jira', usernamePassword(credentialsId: 'hadoopqa-at-asf-jira',
passwordVariable: 'JIRA_PASSWORD', passwordVariable: 'JIRA_PASSWORD',
@ -105,8 +105,7 @@ pipeline {
YETUS_ARGS+=("--html-report-file=${WORKSPACE}/${PATCHDIR}/report.html") YETUS_ARGS+=("--html-report-file=${WORKSPACE}/${PATCHDIR}/report.html")
# enable writing back to Github # enable writing back to Github
YETUS_ARGS+=(--github-password="${GITHUB_PASSWORD}") YETUS_ARGS+=(--github-token="${GITHUB_TOKEN}")
YETUS_ARGS+=(--github-user=${GITHUB_USER})
# enable writing back to ASF JIRA # enable writing back to ASF JIRA
YETUS_ARGS+=(--jira-password="${JIRA_PASSWORD}") YETUS_ARGS+=(--jira-password="${JIRA_PASSWORD}")