diff --git a/core/src/main/java/jenkins/monitor/JavaVersionRecommendationAdminMonitor.java b/core/src/main/java/jenkins/monitor/JavaVersionRecommendationAdminMonitor.java index 830f36c47297..86093a634617 100644 --- a/core/src/main/java/jenkins/monitor/JavaVersionRecommendationAdminMonitor.java +++ b/core/src/main/java/jenkins/monitor/JavaVersionRecommendationAdminMonitor.java @@ -115,7 +115,7 @@ private static String getId() { @Override public boolean isActivated() { - return !disabled && getDeprecationPeriod().toTotalMonths() < 18; + return !disabled && getDeprecationPeriod().toTotalMonths() < 12; } @Override @@ -156,7 +156,7 @@ private static Period getDeprecationPeriod() { @NonNull private static Severity getSeverity() { - return getDeprecationPeriod().toTotalMonths() < 9 ? Severity.DANGER : Severity.WARNING; + return getDeprecationPeriod().toTotalMonths() < 3 ? Severity.DANGER : Severity.WARNING; } /** diff --git a/pom.xml b/pom.xml index a5fdb9bc0071..6dd1632a2ea7 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ THE SOFTWARE. 1.29 false - 6.14 + 6.16