Class OrasArtifactManagerPageDecorator

java.lang.Object
hudson.model.Descriptor<PageDecorator>
hudson.model.PageDecorator
io.jenkins.plugins.oras_artifacts.OrasArtifactManagerPageDecorator
All Implemented Interfaces:
ExtensionPoint, Describable<PageDecorator>, Saveable, Loadable, OnMaster

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension public class OrasArtifactManagerPageDecorator extends PageDecorator
Injects a small script (via header.jelly) that decorates each archived file listed in a build's artifact list with its OCI reference, but only when the page being rendered is for a build whose artifact manager is actually OrasArtifactManager.
  • Constructor Details

    • OrasArtifactManagerPageDecorator

      public OrasArtifactManagerPageDecorator()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Whether the current page is a build (any of its pages, since the artifact list can be shown both in the "Build Artifacts" fragment on the build page and on the dedicated artifacts page) whose artifact manager is OrasArtifactManager.