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 3
3
<parent >
4
4
<groupId >org.jenkins-ci.plugins</groupId >
5
5
<artifactId >plugin</artifactId >
6
- <version >4.88 </version >
6
+ <version >5.7 </version >
7
7
</parent >
8
8
9
9
<artifactId >powershell</artifactId >
39
39
</scm >
40
40
41
41
<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>
43
45
</properties >
44
46
45
47
<repositories >
Original file line number Diff line number Diff line change 16
16
import jenkins .model .Jenkins ;
17
17
import net .sf .json .JSONObject ;
18
18
import org .kohsuke .stapler .DataBoundConstructor ;
19
- import org .kohsuke .stapler .StaplerRequest ;
19
+ import org .kohsuke .stapler .StaplerRequest2 ;
20
20
21
21
import java .io .IOException ;
22
22
import java .lang .reflect .Array ;
@@ -91,7 +91,7 @@ public String getDisplayName() {
91
91
}
92
92
93
93
@ Override
94
- public boolean configure (StaplerRequest req , JSONObject json ) {
94
+ public boolean configure (StaplerRequest2 req , JSONObject json ) {
95
95
setInstallations (req .bindJSONToList (PowerShellInstallation .class , json .get ("tool" ))
96
96
.toArray ((PowerShellInstallation []) Array .newInstance (PowerShellInstallation .class , 0 )));
97
97
save ();
You can’t perform that action at this time.
0 commit comments