Skip to content

Instantly share code, notes, and snippets.

@dduportal
Last active September 24, 2023 19:43
Show Gist options
  • Save dduportal/95ad056ad81a5dfe2ddc685469a278e9 to your computer and use it in GitHub Desktop.
Save dduportal/95ad056ad81a5dfe2ddc685469a278e9 to your computer and use it in GitHub Desktop.
command:
default_java:
exec: java --version
exit-status: 0
stdout:
- "11.0.20.1+1"
java8:
exec: C:\tools\jdk-8\bin\java.exe -version
exit-status: 0
stderr:
- 1.8.0_382
java11:
exec: C:\tools\jdk-11\bin\java.exe --version
exit-status: 0
stdout:
- 11.0.20.1+1
java17:
exec: C:\tools\jdk-17\bin\java.exe --version
exit-status: 0
stdout:
- 17.0.8.1+1
java19:
exec: C:\tools\jdk-19\bin\java.exe --version
exit-status: 0
stdout:
- 19.0.2+7
java21:
exec: C:\tools\jdk-21\bin\java.exe --version
exit-status: 0
stdout:
- 21-beta
trivy:
exec: trivy.exe --version
exit-status: 0
stdout:
- 0.45.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment