diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34d12011..edea6dd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,4 +34,4 @@ jobs: - name: Build with Maven env: BROWSER: chrome-container - run: mvn -V --color always -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000' '-Dgpg.skip' + run: mvn -V --color always -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000' '-Dgpg.skip' -Pci diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 28048376..3b7f6977 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -27,7 +27,7 @@ jobs: with: maven-version: 3.9.6 - name: Generate coverage with JaCoCo - run: mvn -V --color always -ntp clean verify '-Dgpg.skip' + run: mvn -V --color always -ntp clean verify '-Dgpg.skip' -Pci - name: Upload coverage to Codecov uses: codecov/codecov-action@v4.3.1 with: diff --git a/.github/workflows/quality-monitor.yml b/.github/workflows/quality-monitor.yml index c1942da1..b9c72bae 100644 --- a/.github/workflows/quality-monitor.yml +++ b/.github/workflows/quality-monitor.yml @@ -25,7 +25,7 @@ jobs: - name: Build with Maven env: BROWSER: chrome-container - run: mvn -V --color always -ntp clean verify -Ppit | tee maven.log + run: mvn -V --color always -ntp clean verify -Ppit -Pci | tee maven.log - name: Extract pull request number uses: jwalton/gh-find-current-pr@v1 id: pr diff --git a/Jenkinsfile b/Jenkinsfile index 50bddaef..25441183 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ node('java-agent') { stage ('Build, Test, and Static Analysis') { withMaven(mavenLocalRepo: '/var/data/m2repository', mavenOpts: '-Xmx768m -Xms512m') { - sh 'mvn -V -e clean verify -Dmaven.test.failure.ignore -Dgpg.skip -Drevapi.skip' + sh 'mvn -V -e clean verify -Dgpg.skip -Pci' } recordIssues tools: [java(), javaDoc()], aggregatingResults: 'true', id: 'java', name: 'Java' diff --git a/pom.xml b/pom.xml index abb76e7c..566f7165 100644 --- a/pom.xml +++ b/pom.xml @@ -666,9 +666,10 @@ spotbugs-maven-plugin ${spotbugs-maven-plugin.version} - false + true true Low + Low Max false true @@ -694,6 +695,7 @@ run-spotbugs spotbugs + check verify @@ -875,6 +877,15 @@ true + + ci + + true + false + false + 10000000 + + pit