From 6b16289f200b03f4e3c57bf4071efd2d48b16926 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Fri, 20 Jan 2023 09:12:21 -0700 Subject: [PATCH] Enable Java cache in security scan (#231) Reduce load on repo.jenkins-ci.org --- .github/workflows/jenkins-security-scan.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/jenkins-security-scan.yml b/.github/workflows/jenkins-security-scan.yml index f842fa7e..853e2023 100644 --- a/.github/workflows/jenkins-security-scan.yml +++ b/.github/workflows/jenkins-security-scan.yml @@ -1,3 +1,6 @@ +# Jenkins Security Scan +# For more information, see: https://www.jenkins.io/doc/developer/security/scan/ + name: Jenkins Security Scan on: push: @@ -16,5 +19,5 @@ jobs: security-scan: uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2 with: - java-cache: '' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate. + java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate. java-version: 11 # What version of Java to set up for the build.