浏览代码

HADOOP-16110 Upgrade to yetus 0.11.1 and use emoji vote on github pre commit (#1527). Contributed by Duo Zhang.

Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
Duo Zhang 5 年之前
父节点
当前提交
3cecb2a469
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      Jenkinsfile

+ 5 - 2
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.10.0'
+        YETUS_VERSION='rel/0.11.1'
     }
 
     parameters {
@@ -147,11 +147,14 @@ pipeline {
                         YETUS_ARGS+=("--dockerfile=${DOCKERFILE}")
 
                         # effectively treat dev-suport as a custom maven module
-                        YETUS_ARGS+=("--skip-dir=dev-support")
+                        YETUS_ARGS+=("--skip-dirs=dev-support")
 
                         # help keep the ASF boxes clean
                         YETUS_ARGS+=("--sentinel")
 
+                        # use emoji vote so it is easier to find the broken line
+                        YETUS_ARGS+=("--github-use-emoji-vote")
+
                         "${TESTPATCHBIN}" "${YETUS_ARGS[@]}"
                         '''
                 }