File tree 2 files changed +6
-6
lines changed
src/main/java/org/jenkinsci/plugins/workflow/util
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 28
28
<parent >
29
29
<groupId >org.jenkins-ci.plugins</groupId >
30
30
<artifactId >plugin</artifactId >
31
- <version >4.88 </version >
31
+ <version >5.5 </version >
32
32
<relativePath />
33
33
</parent >
34
34
<groupId >org.jenkins-ci.plugins.workflow</groupId >
65
65
<changelist >999999-SNAPSHOT</changelist >
66
66
<gitHubRepo >jenkinsci/${project.artifactId}-plugin</gitHubRepo >
67
67
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
68
- <jenkins .baseline>2.452 </jenkins .baseline>
69
- <jenkins .version>${jenkins.baseline} .4 </jenkins .version>
68
+ <jenkins .baseline>2.479 </jenkins .baseline>
69
+ <jenkins .version>${jenkins.baseline} .1 </jenkins .version>
70
70
<no-test-jar >false</no-test-jar >
71
71
</properties >
72
72
<dependencyManagement >
Original file line number Diff line number Diff line change 34
34
import edu .umd .cs .findbugs .annotations .NonNull ;
35
35
import jenkins .model .Jenkins ;
36
36
import org .kohsuke .stapler .Stapler ;
37
- import org .kohsuke .stapler .StaplerRequest ;
37
+ import org .kohsuke .stapler .StaplerRequest2 ;
38
38
39
39
/**
40
40
* JENKINS-19413 workaround.
@@ -56,10 +56,10 @@ public class StaplerReferer {
56
56
}
57
57
58
58
/**
59
- * Like {@link StaplerRequest #findAncestorObject} except works also in configuration screens when a lazy-load section is newly added.
59
+ * Like {@link StaplerRequest2 #findAncestorObject} except works also in configuration screens when a lazy-load section is newly added.
60
60
*/
61
61
public static @ CheckForNull <T extends Item > T findItemFromRequest (Class <T > type ) {
62
- StaplerRequest request = Stapler .getCurrentRequest ();
62
+ StaplerRequest2 request = Stapler .getCurrentRequest2 ();
63
63
if (request == null ) {
64
64
LOGGER .warning ("no current request" );
65
65
return null ;
You can’t perform that action at this time.
0 commit comments