File tree 1 file changed +3
-1
lines changed
src/main/java/org/jenkinsci/plugins/workflow/support/steps
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 94
94
import org .jenkinsci .plugins .workflow .support .actions .WorkspaceActionImpl ;
95
95
import org .jenkinsci .plugins .workflow .support .concurrent .Timeout ;
96
96
import org .kohsuke .accmod .Restricted ;
97
+ import org .kohsuke .accmod .restrictions .Beta ;
97
98
import org .kohsuke .accmod .restrictions .DoNotUse ;
98
99
import org .kohsuke .accmod .restrictions .NoExternalUse ;
99
100
import org .kohsuke .stapler .export .Exported ;
@@ -807,7 +808,8 @@ public String getAffinityKey() {
807
808
/** hash code of list of heads */
808
809
private transient int lastCheckedHashCode ;
809
810
private transient String lastEnclosingLabel ;
810
- @ Restricted (NoExternalUse .class ) // for Jelly
811
+
812
+ @ Restricted (Beta .class )
811
813
public @ CheckForNull String getEnclosingLabel () {
812
814
if (!context .isReady ()) {
813
815
return null ;
You can’t perform that action at this time.
0 commit comments