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

zhonghongsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 0b7777dbf69 Remove unnecessary clean from maven command in workflow 
job (#38239)
0b7777dbf69 is described below

commit 0b7777dbf6909953ad20e15180547d0f8190796d
Author: Hongsheng Zhong <[email protected]>
AuthorDate: Fri Feb 27 16:13:59 2026 +0800

    Remove unnecessary clean from maven command in workflow job (#38239)
---
 .github/workflows/e2e-agent.yml         | 6 +++---
 .github/workflows/nightly-build.yml     | 2 +-
 .github/workflows/nightly-e2e-agent.yml | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/e2e-agent.yml b/.github/workflows/e2e-agent.yml
index 63111ad30c7..1fa8fbcfa02 100644
--- a/.github/workflows/e2e-agent.yml
+++ b/.github/workflows/e2e-agent.yml
@@ -67,7 +67,7 @@ jobs:
       - name: Build Project
         run: ./mvnw -B clean install -DskipTests -Prelease,default-dep
       - name: Build Proxy E2E Image
-        run: ./mvnw clean install -DskipTests -Pe2e.env.proxy -f 
test/e2e/agent/engine/pom.xml
+        run: ./mvnw install -DskipTests -Pe2e.env.proxy -f 
test/e2e/agent/engine/pom.xml
       - name: Save Proxy E2E Image
         run: docker save -o /tmp/apache-shardingsphere-proxy-agent-test.tar 
apache/shardingsphere-proxy-agent-test:latest
       - uses: actions/upload-artifact@v4
@@ -76,7 +76,7 @@ jobs:
           path: /tmp/apache-shardingsphere-proxy-agent-test.tar
           retention-days: 10
       - name: Build JDBC E2E Image
-        run: ./mvnw clean install -DskipTests -Pe2e.env.jdbc -f 
test/e2e/agent/engine/pom.xml
+        run: ./mvnw install -DskipTests -Pe2e.env.jdbc -f 
test/e2e/agent/engine/pom.xml
       - uses: ./.github/workflows/resources/actions/save-maven-cache
         with:
           cache-hit: ${{ steps.setup-build-environment.outputs.cache-hit }}
@@ -156,4 +156,4 @@ jobs:
       - name: Build Project
         run: ./mvnw -B clean install -am -pl test/e2e/agent/plugins/${{ 
matrix.feature }}/${{ matrix.plugin }} -DskipTests
       - name: Run E2E Test
-        run: ./mvnw -nsu -B clean install -f test/e2e/agent/plugins/${{ 
matrix.feature }}/${{ matrix.plugin }}/pom.xml -De2e.env.adapter=${{ 
matrix.adapter }} -De2e.env.plugin=${{ matrix.plugin }}
+        run: ./mvnw -nsu -B install -f test/e2e/agent/plugins/${{ 
matrix.feature }}/${{ matrix.plugin }}/pom.xml -De2e.env.adapter=${{ 
matrix.adapter }} -De2e.env.plugin=${{ matrix.plugin }}
diff --git a/.github/workflows/nightly-build.yml 
b/.github/workflows/nightly-build.yml
index 42dec2b98a9..d2c6eba0c66 100644
--- a/.github/workflows/nightly-build.yml
+++ b/.github/workflows/nightly-build.yml
@@ -221,7 +221,7 @@ jobs:
       - name: Build with Maven
         run: ./mvnw -B -T1C -ntp clean install -DskipITs -DskipTests
       - name: Generate Examples
-        run: ./mvnw -B clean install -f 
examples/shardingsphere-jdbc-example-generator/pom.xml -Pexample-generator 
-Dmodes=${{ matrix.mode }} -Dtransactions=${{ matrix.transaction }} 
-Dfeatures=${{ matrix.feature }} -Dframeworks=${{ matrix.framework }}
+        run: ./mvnw -B install -f 
examples/shardingsphere-jdbc-example-generator/pom.xml -Pexample-generator 
-Dmodes=${{ matrix.mode }} -Dtransactions=${{ matrix.transaction }} 
-Dfeatures=${{ matrix.feature }} -Dframeworks=${{ matrix.framework }}
       - name: Prepare Environments
         run: |
           
INIT_SQL_PATH="examples/shardingsphere-jdbc-example-generator/target/generated-sources/shardingsphere-jdbc-sample/${{
 matrix.feature }}--${{ matrix.framework }}--${{ matrix.mode }}--${{ 
matrix.transaction }}/init.sql"
diff --git a/.github/workflows/nightly-e2e-agent.yml 
b/.github/workflows/nightly-e2e-agent.yml
index 6f8841a8c2f..e90d70ff711 100644
--- a/.github/workflows/nightly-e2e-agent.yml
+++ b/.github/workflows/nightly-e2e-agent.yml
@@ -55,7 +55,7 @@ jobs:
       - name: Build Project
         run: ./mvnw -B clean install -DskipTests -Prelease,default-dep
       - name: Build Proxy E2E Image
-        run: ./mvnw clean install -DskipTests -Pe2e.env.proxy -f 
test/e2e/agent/engine/pom.xml
+        run: ./mvnw install -DskipTests -Pe2e.env.proxy -f 
test/e2e/agent/engine/pom.xml
       - name: Save Proxy E2E Image
         run: docker save -o /tmp/apache-shardingsphere-proxy-agent-test.tar 
apache/shardingsphere-proxy-agent-test:latest
       - uses: actions/upload-artifact@v4
@@ -64,7 +64,7 @@ jobs:
           path: /tmp/apache-shardingsphere-proxy-agent-test.tar
           retention-days: 10
       - name: Build JDBC E2E Image
-        run: ./mvnw clean install -DskipTests -Pe2e.env.jdbc -f 
test/e2e/agent/engine/pom.xml
+        run: ./mvnw install -DskipTests -Pe2e.env.jdbc -f 
test/e2e/agent/engine/pom.xml
       - uses: ./.github/workflows/resources/actions/save-maven-cache
         with:
           cache-hit: ${{ steps.setup-build-environment.outputs.cache-hit }}
@@ -144,4 +144,4 @@ jobs:
       - name: Build Project
         run: ./mvnw -B clean install -am -pl test/e2e/agent/plugins/${{ 
matrix.feature }}/${{ matrix.plugin }} -DskipTests
       - name: Run E2E Test
-        run: ./mvnw -nsu -B clean install -f test/e2e/agent/plugins/${{ 
matrix.feature }}/${{ matrix.plugin }}/pom.xml -De2e.env.adapter=${{ 
matrix.adapter }} -De2e.env.plugin=${{ matrix.plugin }}
+        run: ./mvnw -nsu -B install -f test/e2e/agent/plugins/${{ 
matrix.feature }}/${{ matrix.plugin }}/pom.xml -De2e.env.adapter=${{ 
matrix.adapter }} -De2e.env.plugin=${{ matrix.plugin }}

Reply via email to