You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2022/05/23 20:31:48 UTC

[nifi] branch main updated: NIFI-10038 Added Java 17 to system-tests workflow (#6060)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new c9c7d5f5a3 NIFI-10038 Added Java 17 to system-tests workflow (#6060)
c9c7d5f5a3 is described below

commit c9c7d5f5a353dd39e25c7771ef7e588b07f47905
Author: exceptionfactory <ex...@apache.org>
AuthorDate: Mon May 23 15:31:42 2022 -0500

    NIFI-10038 Added Java 17 to system-tests workflow (#6060)
---
 .github/workflows/system-tests.yml | 42 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/.github/workflows/system-tests.yml b/.github/workflows/system-tests.yml
index 2cb2b5d8b5..1bfc6ff32a 100644
--- a/.github/workflows/system-tests.yml
+++ b/.github/workflows/system-tests.yml
@@ -21,9 +21,11 @@ on:
     - cron: "0 0 * * *"
   push:
     paths:
+      - '.github/workflows/system-tests.yml'
       - 'nifi-system-tests/**'
   pull_request:
     paths:
+      - '.github/workflows/system-tests.yml'
       - 'nifi-system-tests/**'
 
 env:
@@ -51,6 +53,46 @@ env:
     -pl nifi-system-tests/nifi-stateless-system-test-suite
 
 jobs:
+  ubuntu-17:
+    timeout-minutes: 120
+    runs-on: ubuntu-latest
+    name: Ubuntu Java 17
+    steps:
+      - name: Checkout Code
+        uses: actions/checkout@v2
+      - name: Set up Java 17
+        uses: actions/setup-java@v2
+        with:
+          distribution: zulu
+          java-version: 17
+          cache: 'maven'
+      - name: Build Dependencies
+        env:
+          MAVEN_OPTS: >-
+            ${{ env.DEFAULT_MAVEN_OPTS }}
+        run: >
+          ${{ env.MAVEN_COMMAND }}
+          ${{ env.MAVEN_BUILD_ARGUMENTS }}
+          ${{ env.MAVEN_PROJECTS }}
+      - name: Run Tests
+        env:
+          MAVEN_OPTS: >-
+            ${{ env.DEFAULT_MAVEN_OPTS }}
+        run: >
+          ${{ env.MAVEN_COMMAND }}
+          ${{ env.MAVEN_RUN_ARGUMENTS }}
+          ${{ env.MAVEN_PROJECTS }}
+      - name: Upload Troubleshooting Logs
+        if: failure() || cancelled()
+        uses: actions/upload-artifact@v2
+        with:
+          name: ubuntu-17-troubleshooting-logs
+          path: |
+            nifi-system-tests/nifi-system-test-suite/target/failsafe-reports/**/*.txt
+            nifi-system-tests/nifi-system-test-suite/target/surefire-reports/**/*.txt
+            nifi-system-tests/nifi-system-test-suite/target/troubleshooting/**/*
+          retention-days: 7
+
   ubuntu:
     timeout-minutes: 120
     runs-on: ubuntu-latest