Skip to content

Remove scala and kotlin from spotbug in latest SAST CI template

What does this MR do and why?

As part of Bump SAST Analyzer major version for 17.0 and r... (#455489 - closed) • Craig Smith • 17.0, the Kotlin rules and scala rules were moved to semgrep, however, **/*.scala and **/*.kt should have been removed from the spotbugs CI job so that Spotbugs is no longer triggered when projects include those file types.

This MR updates the SAST.latest.gitlab-ci.yml by removing **/*.scala and **/*.kt so that spotbugs no longer runs for projects that include Kotlin and Scala.

The stable template is not updated in this MR because it may introduce a breaking change. For more information see !152876 (comment 1903937009)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Craig Smith

Merge request reports