@@ -35,13 +35,13 @@ pipeline {
35
35
DOCKERFILE = "${SOURCEDIR}/dev-support/docker/Dockerfile"
36
36
YETUS='yetus'
37
37
// Branch or tag name. Yetus release tags are 'rel/X.Y.Z'
38
- YETUS_VERSION='rel/0.9 .0'
38
+ YETUS_VERSION='rel/0.10 .0'
39
39
}
40
40
41
41
parameters {
42
- string (name: 'JIRA_ISSUE_KEY ',
43
- defaultValue: '' ,
44
- description: 'The JIRA issue that has a patch needing pre-commit testing. Example: HBASE-1234 ')
42
+ booleanParam (name: 'DEBUG ',
43
+ defaultValue: false ,
44
+ description: 'Print extra outputs for debugging the jenkins job and yetus ')
45
45
}
46
46
47
47
stages {
@@ -96,17 +96,18 @@ pipeline {
96
96
ulimit -a >"${PATCHDIR}/machine/ulimit-a" 2>&1 || true
97
97
## /H*
98
98
99
- # if given a JIRA issue, process it. If CHANGE_URL is set
100
- # (e.g., Github Branch Source plugin), process it.
101
- # otherwise exit, because we don't want HBase to do a
99
+ # If CHANGE_URL is set (e.g., Github Branch Source plugin), process it.
100
+ # Otherwise exit, because we don't want HBase to do a
102
101
# full build. We wouldn't normally do this check for smaller
103
102
# projects. :)
104
- if [[ -n "${JIRA_ISSUE_KEY}" ]]; then
105
- YETUS_ARGS+=("${JIRA_ISSUE_KEY}")
106
- elif [[ -z "${CHANGE_URL}" ]]; then
103
+ if [[ -z "${CHANGE_URL}" ]]; then
107
104
echo "Full build skipped" > "${WORKSPACE}/${PATCHDIR}/report.html"
108
105
exit 0
109
106
fi
107
+ # enable debug output for yetus
108
+ if [[ "true" = "${DEBUG}" ]]; then
109
+ YETUS_ARGS+=("--debug")
110
+ fi
110
111
YETUS_ARGS+=("--patch-dir=${WORKSPACE}/${PATCHDIR}")
111
112
# where the source is located
112
113
YETUS_ARGS+=("--basedir=${WORKSPACE}/${SOURCEDIR}")
0 commit comments