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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 3ca98986a0c (chores) ci: archive build and checkstyle logs for the PR
3ca98986a0c is described below

commit 3ca98986a0c7faf60502b9690ca5ce8aa39854d7
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Apr 4 15:58:25 2022 +0200

    (chores) ci: archive build and checkstyle logs for the PR
---
 .github/workflows/master-pr-build.yml | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/master-pr-build.yml 
b/.github/workflows/master-pr-build.yml
index 6cf4b91663c..0c2f69f49cd 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -44,7 +44,13 @@ jobs:
         java-version: 11
         cache: 'maven'
     - name: mvn checkstyle
-      run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -Dmvnd.threads=2 -V 
-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress  
-Dcheckstyle.failOnViolation=true checkstyle:checkstyle
+      run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l checkstyle.log 
-Dmvnd.threads=2 -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress  
-Dcheckstyle.failOnViolation=true checkstyle:checkstyle
+    - name: archive logs
+      uses: actions/upload-artifact@v3
+      if: always()
+      with:
+        name: checkstyle.log
+        path: checkstyle.log
   build:
     permissions:
       issues: write
@@ -66,7 +72,13 @@ jobs:
           java-version: ${{ matrix.java }}
           cache: 'maven'
       - name: maven build
-        run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -Dmvnd.threads=2 
-V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress 
-Pfastinstall -Dcheckstyle.skip=true -DskipTests install
+        run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l build.log 
-Dmvnd.threads=2 -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress 
-Pfastinstall -Dcheckstyle.skip=true -DskipTests install
+      - name: archive logs
+        uses: actions/upload-artifact@v3
+        if: always()
+        with:
+          name: build.log
+          path: build.log
       - id: test
         name: Quick test execution for affected components
         uses: ./.github/actions/quick-test

Reply via email to