Class TagAction

All Implemented Interfaces:
Action, BuildBadgeAction, ModelObject, SearchableModelObject, SearchItem, RunAction2

@Deprecated @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class TagAction extends AbstractScmTagAction
Deprecated.
replaced by ManifestAction JENKINS-59923
A Tag Action allows a user to tag a build. Repo doesn't support a solid tag method, so right now we just display the static manifest information needed to recreate the exact state of the repository when the build was ran.
  • Method Details

    • getIconFileName

      public String getIconFileName()
      Deprecated.
      Returns the filename to use as the badge. Called by the default badge jelly file.
      Specified by:
      getIconFileName in interface Action
      Specified by:
      getIconFileName in class TaskAction
    • getDisplayName

      public String getDisplayName()
      Deprecated.
      Returns the display name to use for the tag action. Called by the default badge jelly file.
    • getTooltip

      public String getTooltip()
      Deprecated.
      Overrides:
      getTooltip in class AbstractScmTagAction
    • isTagged

      public boolean isTagged()
      Deprecated.
      Specified by:
      isTagged in class AbstractScmTagAction
    • getManifest

      public String getManifest()
      Deprecated.
      Gets a String representation of the static manifest for this repo snapshot.
    • onAttached

      public void onAttached(Run<?,?> r)
      Deprecated.
      Specified by:
      onAttached in interface RunAction2
      Overrides:
      onAttached in class AbstractScmTagAction