Skip to content

Commit

Permalink
Merge pull request #175 from jenkinsci/sec-scan-java-17
Browse files Browse the repository at this point in the history
Update Jenkins Security Scan to Java 17
  • Loading branch information
TobiX authored Jun 27, 2024
2 parents 914ea59 + 7b0e82f commit 8436824
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/jenkins-security-scan.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
name: Jenkins Security Scan
on:
push:
branches:
- "main"
pull_request:
types: [ opened, synchronize, reopened ]
types: [opened, synchronize, reopened]
workflow_dispatch:

permissions:
Expand All @@ -16,5 +17,5 @@ jobs:
security-scan:
uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
with:
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.
java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
java-version: 17 # What version of Java to set up for the build.

0 comments on commit 8436824

Please sign in to comment.