@@ -36,14 +36,16 @@ pipeline {
3636        YETUS_REL = 'yetus'
3737        DOCKERFILE_REL = "${SRC_REL}/dev-support/docker/Dockerfile"
3838        YETUS_DRIVER_REL = "${SRC_REL}/dev-support/jenkins_precommit_github_yetus.sh"
39-         // Branch or tag name.  Yetus release tags are 'rel/X.Y.Z'
40-         YETUS_VERSION = 'rel/0.12.0'
39+         YETUS_VERSION = '0.15.0'
4140        GENERAL_CHECK_PLUGINS = 'all,-javadoc,-jira,-shadedjars,-unit'
4241        JDK_SPECIFIC_PLUGINS = 'compile,github,htmlout,javac,javadoc,maven,mvninstall,shadedjars,unit'
42+         // This section of the docs tells folks not to use the javadoc tag. older branches have our old version of the check for said tag.
43+         AUTHOR_IGNORE_LIST = 'src/main/asciidoc/_chapters/developer.adoc'
44+         BLANKS_IGNORE_LIST = '.*/generated/.*'
4345        // output from surefire; sadly the archive function in yetus only works on file names.
4446        ARCHIVE_PATTERN_LIST = 'TEST-*.xml,org.apache.h*.txt,*.dumpstream,*.dump'
4547        // These tests currently have known failures. Once they burn down to 0, remove from here so that new problems will cause a failure.
46-         TESTS_FILTER = 'cc, checkstyle,javac,javadoc,pylint,shellcheck,whitespace, perlcritic,ruby-lint,rubocop,mvnsite '
48+         TESTS_FILTER = 'checkstyle,javac,javadoc,pylint,shellcheck,shelldocs,blanks, perlcritic,ruby-lint,rubocop'
4749        EXCLUDE_TESTS_URL = "${JENKINS_URL}/job/HBase-Find-Flaky-Tests/job/${CHANGE_TARGET}/lastSuccessfulBuild/artifact/output/excludes"
4850        // set build parallel
4951        BUILD_THREAD = 4
@@ -102,11 +104,11 @@ pipeline {
102104                            checkout scm
103105                        }
104106                        dir("${YETUSDIR}") {
105-                             checkout([ 
106-                               $class           : 'GitSCM', 
107-                               branches         : [[name: " ${YETUS_VERSION}"]], 
108-                               userRemoteConfigs: [[url: 'https://github.com/ apache/ yetus.git']]] 
109-                             ) 
107+                             sh'''#!/usr/bin/env bash 
108+                               wget https://dlcdn.apache.org/yetus/${YETUS_VERSION}/apache-yetus-${YETUS_VERSION}-bin.tar.gz && \ 
109+                               tar --strip-components=1 -xzf apache-yetus- ${YETUS_VERSION}-bin.tar.gz && \ 
110+                               rm  apache- yetus-${YETUS_VERSION}-bin.tar.gz 
111+                             ''' 
110112                        }
111113                        dir("${WORKDIR}") {
112114                            withCredentials([
@@ -229,11 +231,11 @@ pipeline {
229231                            checkout scm
230232                        }
231233                        dir("${YETUSDIR}") {
232-                             checkout([ 
233-                               $class           : 'GitSCM', 
234-                               branches         : [[name: " ${YETUS_VERSION}"]], 
235-                               userRemoteConfigs: [[url: 'https://github.com/ apache/ yetus.git']]] 
236-                             ) 
234+                             sh'''#!/usr/bin/env bash 
235+                               wget https://dlcdn.apache.org/yetus/${YETUS_VERSION}/apache-yetus-${YETUS_VERSION}-bin.tar.gz && \ 
236+                               tar --strip-components=1 -xzf apache-yetus- ${YETUS_VERSION}-bin.tar.gz && \ 
237+                               rm  apache- yetus-${YETUS_VERSION}-bin.tar.gz 
238+                             ''' 
237239                        }
238240                        dir("${WORKDIR}") {
239241                            withCredentials([
@@ -365,11 +367,11 @@ pipeline {
365367                            checkout scm
366368                        }
367369                        dir("${YETUSDIR}") {
368-                             checkout([ 
369-                               $class           : 'GitSCM', 
370-                               branches         : [[name: " ${YETUS_VERSION}"]], 
371-                               userRemoteConfigs: [[url: 'https://github.com/ apache/ yetus.git']]] 
372-                             ) 
370+                             sh'''#!/usr/bin/env bash 
371+                               wget https://dlcdn.apache.org/yetus/${YETUS_VERSION}/apache-yetus-${YETUS_VERSION}-bin.tar.gz && \ 
372+                               tar --strip-components=1 -xzf apache-yetus- ${YETUS_VERSION}-bin.tar.gz && \ 
373+                               rm  apache- yetus-${YETUS_VERSION}-bin.tar.gz 
374+                             ''' 
373375                        }
374376                        dir("${WORKDIR}") {
375377                            withCredentials([
@@ -493,22 +495,19 @@ pipeline {
493495                        SKIP_ERRORPRONE = true
494496                    }
495497                    when {
496- 			allOf {
497-                             // this will return true if the pipeline is building a change request, such as a GitHub pull request.
498-                             changeRequest()
499-                             expression { env.CHANGE_TARGET in ['master', 'branch-3'] }
500- 			}
498+                         // this will return true if the pipeline is building a change request, such as a GitHub pull request.
499+                         changeRequest()
501500                    }
502501                    steps {
503502                        dir("${SOURCEDIR}") {
504503                            checkout scm
505504                        }
506505                        dir("${YETUSDIR}") {
507-                             checkout([ 
508-                               $class           : 'GitSCM', 
509-                               branches         : [[name: " ${YETUS_VERSION}"]], 
510-                               userRemoteConfigs: [[url: 'https://github.com/ apache/ yetus.git']]] 
511-                             ) 
506+                             sh'''#!/usr/bin/env bash 
507+                               wget https://dlcdn.apache.org/yetus/${YETUS_VERSION}/apache-yetus-${YETUS_VERSION}-bin.tar.gz && \ 
508+                               tar --strip-components=1 -xzf apache-yetus- ${YETUS_VERSION}-bin.tar.gz && \ 
509+                               rm  apache- yetus-${YETUS_VERSION}-bin.tar.gz 
510+                             ''' 
512511                        }
513512                        dir("${WORKDIR}") {
514513                            withCredentials([
0 commit comments