Skip to content

Commit b7cec8f

Browse files
authored
Merge pull request #393 from Vlatombe/expose-executorstepexecution-getEnclosingLabel
Expose `ExecutorStepExecution#getEnclosingLabel`
2 parents dd04e25 + 04ab39e commit b7cec8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

+3-1
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;
@@ -807,7 +808,8 @@ public String getAffinityKey() {
807808
/** hash code of list of heads */
808809
private transient int lastCheckedHashCode;
809810
private transient String lastEnclosingLabel;
810-
@Restricted(NoExternalUse.class) // for Jelly
811+
812+
@Restricted(Beta.class)
811813
public @CheckForNull String getEnclosingLabel() {
812814
if (!context.isReady()) {
813815
return null;

0 commit comments

Comments
 (0)