greyp9 commented on a change in pull request #5040:
URL: https://github.com/apache/nifi/pull/5040#discussion_r622522898



##########
File path: .github/workflows/ci-workflow.yml
##########
@@ -91,9 +91,16 @@ jobs:
           df -h
       - name: Build with Maven
         env:
-          MAVEN_OPTS: -Xmx2g -XX:ReservedCodeCacheSize=1g -XX:+UseG1GC 
-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN 
-Dmaven.surefire.arguments="-Duser.language=en -Duser.region=AU 
-Duser.timezone=Australia/Melbourne" -Dhttp.keepAlive=false 
-Dmaven.wagon.http.pool=false
+          MAVEN_OPTS: -Xmx2g -XX:ReservedCodeCacheSize=1g -XX:+UseG1GC 
-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Duser.language=en 
-Duser.country=AU -Duser.region=AU -Duser.timezone=Australia/Melbourne 
-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
         run: |
           mvn -V -T 0.7C package verify -B -Pcontrib-check,include-grpc 
-Ddir-only -ntp -ff -pl 
-nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly,-nifi-system-tests -nsu
+      - name: Upload artifact
+        uses: actions/upload-artifact@v2
+        if: always()
+        with:
+          name: surefire-reports-en
+          path: "**/surefire-reports/TEST-*.xml"
+          retention-days: 1

Review comment:
       The surefire outputs are on the order of ~30M each.  So we choose the 
minimum retention period (1-90 days available) to minimize storage requirement.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to