Skip to content

Commit

Permalink
Enable Java cache in security scan (#231)
Browse files Browse the repository at this point in the history
Reduce load on repo.jenkins-ci.org
  • Loading branch information
MarkEWaite authored Jan 20, 2023
1 parent a6f84c8 commit 6b16289
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/jenkins-security-scan.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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.

0 comments on commit 6b16289

Please sign in to comment.