File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/main/java/hudson/plugins/powershell Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 33 <parent >
44 <groupId >org.jenkins-ci.plugins</groupId >
55 <artifactId >plugin</artifactId >
6- <version >4.88 </version >
6+ <version >5.7 </version >
77 </parent >
88
99 <artifactId >powershell</artifactId >
3939 </scm >
4040
4141 <properties >
42- <jenkins .version>2.452.4</jenkins .version>
42+ <!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
43+ <jenkins .baseline>2.479</jenkins .baseline>
44+ <jenkins .version>${jenkins.baseline} .1</jenkins .version>
4345 </properties >
4446
4547 <repositories >
Original file line number Diff line number Diff line change 1616import jenkins .model .Jenkins ;
1717import net .sf .json .JSONObject ;
1818import org .kohsuke .stapler .DataBoundConstructor ;
19- import org .kohsuke .stapler .StaplerRequest ;
19+ import org .kohsuke .stapler .StaplerRequest2 ;
2020
2121import java .io .IOException ;
2222import java .lang .reflect .Array ;
@@ -91,7 +91,7 @@ public String getDisplayName() {
9191 }
9292
9393 @ Override
94- public boolean configure (StaplerRequest req , JSONObject json ) {
94+ public boolean configure (StaplerRequest2 req , JSONObject json ) {
9595 setInstallations (req .bindJSONToList (PowerShellInstallation .class , json .get ("tool" ))
9696 .toArray ((PowerShellInstallation []) Array .newInstance (PowerShellInstallation .class , 0 )));
9797 save ();
You can’t perform that action at this time.
0 commit comments