Skip to content

Update java-version to 17 for Jenkins Security Scan (#492) #177

Update java-version to 17 for Jenkins Security Scan (#492)

Update java-version to 17 for Jenkins Security Scan (#492) #177

name: Jenkins Security Scan
on:
push:
branches:
- main
# see https://github.com/jenkins-infra/jenkins-security-scan/issues/3
# pull_request:
# types: [ opened, synchronize, reopened ]
workflow_dispatch:
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: 17 # What version of Java to set up for the build.