You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2023/08/17 09:10:28 UTC

[struts] branch fix/code-quality-on-java17 updated: Uses verify phase instead of just test to run integration tests

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

lukaszlenart pushed a commit to branch fix/code-quality-on-java17
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/fix/code-quality-on-java17 by this push:
     new f58d0f3cc Uses verify phase instead of just test to run integration tests
f58d0f3cc is described below

commit f58d0f3cc89b32ce73627063cae05488c38afb4d
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Thu Aug 17 11:10:23 2023 +0200

    Uses verify phase instead of just test to run integration tests
---
 .github/workflows/maven.yml | 3 ++-
 Jenkinsfile                 | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 5efaba9b9..385a9919b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -49,7 +49,8 @@ jobs:
           distribution: adopt
           java-version: ${{ matrix.java }}
       - name: Build with Maven on Java ${{ matrix.java }}
-        run: mvn -B -V -DskipAssembly test --no-transfer-progress
+        if: matrix.java != '17'
+        run: mvn -B -V -DskipAssembly verify --no-transfer-progress
       - name: Code coverage on Java ${{ matrix.java }}
         if: matrix.java == '17'
         env:
diff --git a/Jenkinsfile b/Jenkinsfile
index bced1a82c..1dd8b62a6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -89,7 +89,7 @@ pipeline {
         }
         stage('Test') {
           steps {
-            sh './mvnw -B test'
+            sh './mvnw -B verify'
           }
           post {
             always {
@@ -124,7 +124,7 @@ pipeline {
         }
         stage('Test') {
           steps {
-            sh './mvnw -B test'
+            sh './mvnw -B verify'
             // step([$class: 'JiraIssueUpdater', issueSelector: [$class: 'DefaultIssueSelector'], scm: scm])
           }
           post {