diff --git a/src/main/java/com/fortify/plugin/jenkins/steps/types/JavaScanType.java b/src/main/java/com/fortify/plugin/jenkins/steps/types/JavaScanType.java index 5f995a0..ac947fe 100644 --- a/src/main/java/com/fortify/plugin/jenkins/steps/types/JavaScanType.java +++ b/src/main/java/com/fortify/plugin/jenkins/steps/types/JavaScanType.java @@ -100,7 +100,7 @@ public ListBoxModel doFillJavaVersionItems(@QueryParameter String javaVersion) { items.add("17", "17"); if ((null == javaVersion) || (0 == javaVersion.length())) { - items.get(3).selected = true; // default to Java 8 + items.get(6).selected = true; // default to Java 11 } return items; diff --git a/src/main/resources/com/fortify/plugin/jenkins/FortifyPlugin/global.jelly b/src/main/resources/com/fortify/plugin/jenkins/FortifyPlugin/global.jelly index 2c5d49e..a98b555 100644 --- a/src/main/resources/com/fortify/plugin/jenkins/FortifyPlugin/global.jelly +++ b/src/main/resources/com/fortify/plugin/jenkins/FortifyPlugin/global.jelly @@ -39,6 +39,7 @@ +