Skip to content

Commit

Permalink
Expose with Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlatombe committed Aug 21, 2024
1 parent 1542bab commit 04ab39e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
import org.jenkinsci.plugins.workflow.support.actions.WorkspaceActionImpl;
import org.jenkinsci.plugins.workflow.support.concurrent.Timeout;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;
import org.kohsuke.accmod.restrictions.DoNotUse;
import org.kohsuke.accmod.restrictions.NoExternalUse;
import org.kohsuke.stapler.export.Exported;
Expand Down Expand Up @@ -808,6 +809,7 @@ public String getAffinityKey() {
private transient int lastCheckedHashCode;
private transient String lastEnclosingLabel;

@Restricted(Beta.class)
public @CheckForNull String getEnclosingLabel() {
if (!context.isReady()) {
return null;
Expand Down

0 comments on commit 04ab39e

Please sign in to comment.