You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2026/09/18 13:23:38 UTC
(poi) branch trunk updated: GitHub CI: skip SpotBugs, leave it to the nightly Jenkins jobs (#1286)
This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git
The following commit(s) were added to refs/heads/trunk by this push:
new 62e6a77c9f GitHub CI: skip SpotBugs, leave it to the nightly Jenkins jobs (#1286)
62e6a77c9f is described below
commit 62e6a77c9f1afd9ade9e74b4e55354335528f228
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Fri Sep 18 14:23:33 2026 +0100
GitHub CI: skip SpotBugs, leave it to the nightly Jenkins jobs (#1286)
The com.github.spotbugs plugin wires spotbugsMain and spotbugsTest into
'check' for all 10 modules. With ignoreFailures = true it cannot fail the
pull-request build; it only adds several minutes of CPU and a 2g heap next
to the tests. The Jenkins 'jenkins' task still runs 'check' in full and
publishes the SpotBugs report.
Co-authored-by: Claude Opus 5 (1M context) <no...@anthropic.com>
---
.github/workflows/test-gradle.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/test-gradle.yml b/.github/workflows/test-gradle.yml
index f5cedb2733..b1c5b7a5ea 100644
--- a/.github/workflows/test-gradle.yml
+++ b/.github/workflows/test-gradle.yml
@@ -36,5 +36,7 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
+ # SpotBugs is left to the nightly Jenkins jobs (the 'jenkins' task runs 'check' in full):
+ # it cannot fail this build (ignoreFailures = true) and only adds time and memory pressure here
- name: Build with Gradle
- run: ./gradlew check -PjdkVersion=17 --no-daemon --refresh-dependencies
+ run: ./gradlew check -PjdkVersion=17 -x spotbugsMain -x spotbugsTest --no-daemon --refresh-dependencies
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org