} else if (getExcludedCommits().contains(headRevision)) { listener.getLogger().println("Ignored commit " + headRevision + ": This commit has been explicitly excluded from triggering builds."); for (String commit : getExcludedCommits()) { listener.getLogger().println("[poll] Excluded commit: " + commit);