HADOOP-16944. Use Yetus 0.12.0 in GitHub PR (#1917)
(cherry picked from commit 5576915236
)
This commit is contained in:
parent
73cb3d3cb3
commit
ce87784771
|
@ -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}")
|
||||||
|
|
Loading…
Reference in New Issue