From 02566281f6e937b591d4de65e130d07dc62878d7 Mon Sep 17 00:00:00 2001 From: Valentin Delaye Date: Mon, 13 Jan 2025 06:16:40 +0100 Subject: [PATCH] Require 2.479.1 and Java 17 --- pom.xml | 9 +++++---- .../jenkinsci/plugins/ansible/AnsibleInstallation.java | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index e64b0080..046cb1a0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.jenkins-ci.plugins plugin - 4.88 + 5.5 org.jenkins-ci.plugins @@ -28,8 +28,9 @@ 999999-SNAPSHOT jenkinsci/ansible-plugin - 2.462 - ${jenkins.baseline}.3 + + 2.479 + ${jenkins.baseline}.1 false @@ -41,7 +42,7 @@ io.jenkins.tools.bom bom-${jenkins.baseline}.x - 3875.v1df09947cde6 + 3893.v213a_42768d35 pom import diff --git a/src/main/java/org/jenkinsci/plugins/ansible/AnsibleInstallation.java b/src/main/java/org/jenkinsci/plugins/ansible/AnsibleInstallation.java index eefcc0d2..6211ddc1 100644 --- a/src/main/java/org/jenkinsci/plugins/ansible/AnsibleInstallation.java +++ b/src/main/java/org/jenkinsci/plugins/ansible/AnsibleInstallation.java @@ -33,7 +33,7 @@ import net.sf.json.JSONObject; import org.jenkinsci.Symbol; import org.kohsuke.stapler.DataBoundConstructor; -import org.kohsuke.stapler.StaplerRequest; +import org.kohsuke.stapler.StaplerRequest2; /** * {@code ToolInstallation} for Ansible @@ -128,7 +128,7 @@ public DescriptorImpl() { } @Override - public boolean configure(StaplerRequest req, JSONObject json) throws FormException { + public boolean configure(StaplerRequest2 req, JSONObject json) throws FormException { super.configure(req, json); save(); return true;