Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from EE 8 to EE 9 #635

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Migrate from EE 8 to EE 9 #635

merged 1 commit into from
Jan 30, 2025

Conversation

basil
Copy link
Member

@basil basil commented Jan 22, 2025

Migrate from deprecated EE 8 APIs to non-deprecated EE 9 equivalents. Tested with mvn clean verify.

@basil basil added the internal label Jan 22, 2025
@basil basil requested a review from a team as a code owner January 22, 2025 19:35
@@ -39,7 +39,7 @@
import org.kohsuke.stapler.AncestorInPath;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.QueryParameter;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerRequest2;
Copy link
Contributor

@rantoniuk rantoniuk Jan 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the times of having 2 at the end of things is long gone 😆 No, let me rephrase - I expect those times to be long gone :-)

How about moving this class to org.kohsuke.stapler.ee9.StaplerRequest?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shipped in Jenkins core months ago and is now part of the public API which cannot be changed.

@basil basil requested a review from rantoniuk January 26, 2025 14:55
@rantoniuk rantoniuk merged commit 03411e0 into jenkinsci:master Jan 30, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants