You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2021/01/18 14:31:35 UTC

[camel-kafka-connector] branch master updated: Modify the Github Actions configuration to allow archiving test logs (#882)

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

orpiske pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


The following commit(s) were added to refs/heads/master by this push:
     new 87661a9  Modify the Github Actions configuration to allow archiving test logs (#882)
87661a9 is described below

commit 87661a90532560264c01d89451c7fa72c80d88f9
Author: Otavio Rodolfo Piske <op...@redhat.com>
AuthorDate: Mon Jan 18 14:54:56 2021 +0100

    Modify the Github Actions configuration to allow archiving test logs (#882)
---
 .github/workflows/automatic-sync-camel-master.yml | 5 +++++
 .github/workflows/ci-build.yml                    | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/.github/workflows/automatic-sync-camel-master.yml b/.github/workflows/automatic-sync-camel-master.yml
index 3e4737e..b0f48cd 100644
--- a/.github/workflows/automatic-sync-camel-master.yml
+++ b/.github/workflows/automatic-sync-camel-master.yml
@@ -93,6 +93,11 @@ jobs:
             -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
             -pl '!:camel-kafka-connector-generator-maven-plugin' \
             clean test
+      - name: archive logs
+        uses: actions/upload-artifact@v2
+        with:
+          name: test-logs
+          path: tests/**/target/tests.log
       - name: Create Pull Request
         uses: peter-evans/create-pull-request@v2.4.1
         with:
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 20a406d..455bc5f 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -80,5 +80,10 @@ jobs:
             -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \
             -pl '!:camel-kafka-connector-generator-maven-plugin' \
             clean test
+      - name: archive logs
+        uses: actions/upload-artifact@v2
+        with:
+          name: test-logs
+          path: tests/**/target/tests.log