You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gy...@apache.org on 2022/07/20 16:50:55 UTC

[flink-kubernetes-operator] branch release-1.1 updated: [CI] Make overlapping class check more robust

This is an automated email from the ASF dual-hosted git repository.

gyfora pushed a commit to branch release-1.1
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git


The following commit(s) were added to refs/heads/release-1.1 by this push:
     new 900469e0 [CI] Make overlapping class check more robust
900469e0 is described below

commit 900469e0860444be6d4ac32ce09f15135dc8bb77
Author: Gyula Fora <g_...@apple.com>
AuthorDate: Wed Jul 20 15:26:00 2022 +0200

    [CI] Make overlapping class check more robust
---
 .github/workflows/ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 35c669ed..1dde3421 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -41,8 +41,9 @@ jobs:
       - name: Build with Maven
         run: |
           set -o pipefail; mvn clean install javadoc:javadoc -Pgenerate-docs | tee ./mvn.log; set +o pipefail
-          if [[ $(cat ./mvn.log | grep -E -v 'flink-runtime-.*.jar, flink-kubernetes-operator-.*.jar define 2 overlapping classes' | grep -c "overlapping classes" -) -gt 0 ]];then
-            echo "Found overlapping classes, please fix"
+          if [[ $(cat ./mvn.log | grep -E -v '(flink-runtime-.*.jar, flink-kubernetes-operator-.*.jar)|(flink-kubernetes-operator-.*.jar, flink-runtime-.*.jar) define 2 overlapping classes' | grep -c "overlapping classes" -) -gt 0 ]];then
+            echo "Found overlapping classes: "
+            cat ./mvn.log | grep "overlapping classes"
             exit 1
           fi
           if [[ $(git diff HEAD | wc -l) -gt 0 ]];then