You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/01/07 11:22:17 UTC

[incubator-inlong] branch master updated: [INLONG-2119][CI] Set the `CI` envirment variable to false when building or testing website commponent (#2120)

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

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new e8ac34b  [INLONG-2119][CI] Set the `CI` envirment variable to false when building or testing website commponent (#2120)
e8ac34b is described below

commit e8ac34b83a5d45d43cd95fad71386b6ea1aaefbe
Author: Yuanhao Ji <ts...@qq.com>
AuthorDate: Fri Jan 7 19:22:11 2022 +0800

    [INLONG-2119][CI] Set the `CI` envirment variable to false when building or testing website commponent (#2120)
---
 .github/workflows/ci_build.yml | 4 +++-
 .github/workflows/ci_ut.yml    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
index 9101240..e0aa8ed 100644
--- a/.github/workflows/ci_build.yml
+++ b/.github/workflows/ci_build.yml
@@ -47,7 +47,9 @@ jobs:
           restore-keys: ${{ runner.os }}-m2
 
       - name: Build with Maven
-        run: mvn --batch-mode --update-snapshots -e -V clean install -DskipTests -pl !inlong-website
+        run: mvn --batch-mode --update-snapshots -e -V clean install -DskipTests
+        env:
+          CI: false
 
       - name: Upload unit test results
         if: ${{ failure() }}
diff --git a/.github/workflows/ci_ut.yml b/.github/workflows/ci_ut.yml
index 526dab9..4ec9610 100644
--- a/.github/workflows/ci_ut.yml
+++ b/.github/workflows/ci_ut.yml
@@ -47,7 +47,9 @@ jobs:
           restore-keys: ${{ runner.os }}-m2
 
       - name: Unit test with Maven
-        run: mvn --batch-mode --update-snapshots -e -V clean verify -pl !inlong-website
+        run: mvn --batch-mode --update-snapshots -e -V clean verify
+        env:
+          CI: false
 
       - name: Upload unit test results
         if: ${{ failure() }}