Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1883211

Browse files
authoredJan 23, 2025··
Migrate from EE 8 to EE 9 (#144)
1 parent 590bebf commit 1883211

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed
 

‎pom.xml

+16-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.jenkins-ci.plugins</groupId>
66
<artifactId>plugin</artifactId>
7-
<version>4.86</version>
7+
<version>5.5</version>
88
<relativePath/>
99
</parent>
1010
<groupId>org.jenkins-ci.plugins</groupId>
@@ -40,19 +40,31 @@
4040
<properties>
4141
<changelist>999999-SNAPSHOT</changelist>
4242
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
43-
<jenkins.baseline>2.440</jenkins.baseline>
44-
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
43+
<jenkins.baseline>2.479</jenkins.baseline>
44+
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
4545
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
4646
</properties>
4747
<dependencyManagement>
4848
<dependencies>
4949
<dependency>
5050
<groupId>io.jenkins.tools.bom</groupId>
5151
<artifactId>bom-${jenkins.baseline}.x</artifactId>
52-
<version>3234.v5ca_5154341ef</version>
52+
<version>3850.vb_c5319efa_e29</version>
5353
<scope>import</scope>
5454
<type>pom</type>
5555
</dependency>
56+
<!-- TODO until in BOM -->
57+
<dependency>
58+
<groupId>org.jenkins-ci.plugins.workflow</groupId>
59+
<artifactId>workflow-cps</artifactId>
60+
<version>4011.v91e9951fa_d5b_</version>
61+
</dependency>
62+
<dependency>
63+
<groupId>org.jenkins-ci.plugins.workflow</groupId>
64+
<artifactId>workflow-cps</artifactId>
65+
<version>4011.v91e9951fa_d5b_</version>
66+
<classifier>tests</classifier>
67+
</dependency>
5668
</dependencies>
5769
</dependencyManagement>
5870
<dependencies>

‎src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStep.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
import org.kohsuke.stapler.DataBoundConstructor;
5151
import org.kohsuke.stapler.DataBoundSetter;
5252
import org.kohsuke.stapler.QueryParameter;
53-
import org.kohsuke.stapler.StaplerRequest;
53+
import org.kohsuke.stapler.StaplerRequest2;
5454

5555
public class BuildTriggerStep extends Step {
5656

@@ -121,7 +121,7 @@ public static class DescriptorImpl extends StepDescriptor implements CustomDescr
121121
// Note: This is necessary because the JSON format of the parameters produced by config.jelly when
122122
// using the snippet generator does not match what would be neccessary for databinding to work automatically.
123123
// Only called via the snippet generator.
124-
@Override public Step newInstance(@Nullable StaplerRequest req, @NonNull JSONObject formData) throws FormException {
124+
@Override public Step newInstance(@Nullable StaplerRequest2 req, @NonNull JSONObject formData) throws FormException {
125125
BuildTriggerStep step = (BuildTriggerStep) super.newInstance(req, formData);
126126
// Cf. ParametersDefinitionProperty._doBuild:
127127
Object parameter = formData.get("parameter");

0 commit comments

Comments
 (0)
Please sign in to comment.