Skip to content

Commit

Permalink
Migrate from EE 8 to EE 9 (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Jan 22, 2025
1 parent f331e6f commit 3c7d4aa
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.88</version>
<version>5.5</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -33,8 +33,8 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/parameterized-trigger-plugin</gitHubRepo>
<jenkins.baseline>2.440</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
<jenkins.baseline>2.479</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.threshold>Low</spotbugs.threshold>
<spotless.check.skip>false</spotless.check.skip>
Expand All @@ -45,7 +45,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>3435.v238d66a_043fb_</version>
<version>3850.vb_c5319efa_e29</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public FormValidation doCheckEncoding(@QueryParameter String encoding) {
* Check whether the configuring model is {@link MatrixProject}. Called from jelly.
*
* Note: Caller should pass it for the model is not bound to
* {@link org.kohsuke.stapler.StaplerRequest#findAncestorObject(Class)}
* {@link org.kohsuke.stapler.StaplerRequest2#findAncestorObject(Class)}
* when called via hetero-list.
*
* @param it Object to check
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import hudson.tasks.Builder;
import java.io.IOException;
import net.sf.json.JSONObject;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerRequest2;

/**
* A Builder which simulates an aborted build.
Expand All @@ -31,7 +31,7 @@ public String getDisplayName() {
return "Make build aborted";
}

public AbortedBuilder newInstance(StaplerRequest req, JSONObject data) {
public AbortedBuilder newInstance(StaplerRequest2 req, JSONObject data) {
return new AbortedBuilder();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import java.util.HashMap;
import java.util.Map;
import net.sf.json.JSONObject;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerRequest2;

/**
* @author wolfs
Expand All @@ -31,7 +31,7 @@ public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListen

@Extension
public static final class DescriptorImpl extends Descriptor<Builder> {
public Builder newInstance(StaplerRequest req, JSONObject data) {
public Builder newInstance(StaplerRequest2 req, JSONObject data) {
throw new UnsupportedOperationException();
}

Expand Down

0 comments on commit 3c7d4aa

Please sign in to comment.