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/07/22 02:54:49 UTC

[inlong] branch master updated: [INLONG-5098][CI] Use maven parallel build feature to improve project workflow build speed (#5171)

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/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 4c8f007cb [INLONG-5098][CI] Use maven parallel build feature to improve project workflow build speed (#5171)
4c8f007cb is described below

commit 4c8f007cba7ca44718c91d4b387f5409e106c218
Author: leosanqing <st...@qq.com>
AuthorDate: Fri Jul 22 10:54:45 2022 +0800

    [INLONG-5098][CI] Use maven parallel build feature to improve project workflow build speed (#5171)
---
 .github/workflows/ci_build.yml        | 2 +-
 .github/workflows/ci_docker.yml       | 2 +-
 .github/workflows/ci_ut.yml           | 2 +-
 .github/workflows/codeql_analysis.yml | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
index 2d73eba6a..50273f587 100644
--- a/.github/workflows/ci_build.yml
+++ b/.github/workflows/ci_build.yml
@@ -78,7 +78,7 @@ jobs:
 
       - name: Build with Maven
         run: |
-          mvn --batch-mode --update-snapshots -e -V clean install -DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
+          mvn --batch-mode --update-snapshots -e -V -T 1C clean install -DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
         env:
           CI: false
 
diff --git a/.github/workflows/ci_docker.yml b/.github/workflows/ci_docker.yml
index 07b865a02..4ebb5c703 100644
--- a/.github/workflows/ci_docker.yml
+++ b/.github/workflows/ci_docker.yml
@@ -75,7 +75,7 @@ jobs:
           restore-keys: ${{ runner.os }}-m2
 
       - name: Build Docker images
-        run: mvn --batch-mode --update-snapshots -e -V clean package -DskipTests -Pdocker
+        run: mvn --batch-mode --update-snapshots -e -V -T 1C clean package -DskipTests -Pdocker
         env:
           CI: false
 
diff --git a/.github/workflows/ci_ut.yml b/.github/workflows/ci_ut.yml
index 924bc6523..0f13203d3 100644
--- a/.github/workflows/ci_ut.yml
+++ b/.github/workflows/ci_ut.yml
@@ -76,7 +76,7 @@ jobs:
           restore-keys: ${{ runner.os }}-m2
 
       - name: Build with Maven
-        run: mvn --batch-mode --update-snapshots -e -V clean install -DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
+        run: mvn --batch-mode --update-snapshots -e -V -T 1C clean install -DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
         env:
           CI: false
 
diff --git a/.github/workflows/codeql_analysis.yml b/.github/workflows/codeql_analysis.yml
index 7c1ee6d21..c68651d4f 100644
--- a/.github/workflows/codeql_analysis.yml
+++ b/.github/workflows/codeql_analysis.yml
@@ -63,7 +63,7 @@ jobs:
 
       - name: Build with Maven
         run: |
-          mvn --batch-mode --update-snapshots -e -V clean install -DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
+          mvn --batch-mode --update-snapshots -e -V -T 1C clean install -DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
         env:
           CI: false