File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/main/java/org/codefirst Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >org.jenkins-ci.plugins</groupId >
7
7
<artifactId >plugin</artifactId >
8
- <version >4.86 </version >
8
+ <version >5.5 </version >
9
9
<relativePath />
10
10
</parent >
11
11
43
43
<changelist >999999-SNAPSHOT</changelist >
44
44
<gitHubRepo >jenkinsci/simple-theme-plugin</gitHubRepo >
45
45
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
46
- <jenkins .baseline>2.440 </jenkins .baseline>
47
- <jenkins .version>${jenkins.baseline} .3 </jenkins .version>
46
+ <jenkins .baseline>2.479 </jenkins .baseline>
47
+ <jenkins .version>${jenkins.baseline} .1 </jenkins .version>
48
48
<hpi .compatibleSinceVersion>171</hpi .compatibleSinceVersion>
49
49
<spotless .check.skip>false</spotless .check.skip>
50
50
</properties >
54
54
<dependency >
55
55
<groupId >io.jenkins.tools.bom</groupId >
56
56
<artifactId >bom-${jenkins.baseline}.x</artifactId >
57
- <version >3234.v5ca_5154341ef </version >
57
+ <version >3850.vb_c5319efa_e29 </version >
58
58
<type >pom</type >
59
59
<scope >import</scope >
60
60
</dependency >
Original file line number Diff line number Diff line change 20
20
import org .kohsuke .stapler .Ancestor ;
21
21
import org .kohsuke .stapler .DataBoundSetter ;
22
22
import org .kohsuke .stapler .Stapler ;
23
- import org .kohsuke .stapler .StaplerRequest ;
23
+ import org .kohsuke .stapler .StaplerRequest2 ;
24
24
25
25
@ Extension
26
26
@ Symbol ("simpleTheme" )
@@ -46,7 +46,7 @@ public SimpleThemeDecorator() {
46
46
}
47
47
48
48
@ Override
49
- public boolean configure (StaplerRequest req , JSONObject formData ) throws FormException {
49
+ public boolean configure (StaplerRequest2 req , JSONObject formData ) throws FormException {
50
50
elements .clear ();
51
51
req .bindJSON (this , formData );
52
52
save ();
@@ -146,7 +146,7 @@ public String getHeaderHtml() {
146
146
* @return true if it is okay to inject CSS
147
147
*/
148
148
public boolean shouldInjectCss () {
149
- StaplerRequest req = Stapler .getCurrentRequest ();
149
+ StaplerRequest2 req = Stapler .getCurrentRequest2 ();
150
150
if (req == null ) {
151
151
return false ;
152
152
}
You can’t perform that action at this time.
0 commit comments