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 an artifact list with its OCI reference, but only when that artifact list is for a build whose artifact manager is actually OrasArtifactManager.

The artifact list appears in two places, both handled here:

  • on a build's own page (and its dedicated artifact browser), for that build;
  • on the job's overview page, as the "Last Successful Artifacts" summary, for the job's last successful build.
  • Constructor Details

    • OrasArtifactManagerPageDecorator

      public OrasArtifactManagerPageDecorator()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Whether the current page shows an artifact list backed by OrasArtifactManager.