Skip to content

Commit 04ab39e

Browse files
committed
Expose with Beta
1 parent 1542bab commit 04ab39e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepExecution.java

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
import org.jenkinsci.plugins.workflow.support.actions.WorkspaceActionImpl;
9595
import org.jenkinsci.plugins.workflow.support.concurrent.Timeout;
9696
import org.kohsuke.accmod.Restricted;
97+
import org.kohsuke.accmod.restrictions.Beta;
9798
import org.kohsuke.accmod.restrictions.DoNotUse;
9899
import org.kohsuke.accmod.restrictions.NoExternalUse;
99100
import org.kohsuke.stapler.export.Exported;
@@ -808,6 +809,7 @@ public String getAffinityKey() {
808809
private transient int lastCheckedHashCode;
809810
private transient String lastEnclosingLabel;
810811

812+
@Restricted(Beta.class)
811813
public @CheckForNull String getEnclosingLabel() {
812814
if (!context.isReady()) {
813815
return null;

0 commit comments

Comments
 (0)