Class TagAction

    • Method Detail

      • getDisplayName

        public String getDisplayName()
      • doSubmit

        @POST
        public void doSubmit​(org.kohsuke.stapler.StaplerRequest req,
                             org.kohsuke.stapler.StaplerResponse rsp)
                      throws Exception,
                             javax.servlet.ServletException
        Throws:
        Exception
        javax.servlet.ServletException
      • setRefChanges

        public void setRefChanges​(List<P4Ref> refChanges)
      • getRefChanges

        public List<P4Ref> getRefChanges()
      • getRefChange

        public P4Ref getRefChange()
      • getCredential

        public String getCredential()
      • getWorkspace

        public Workspace getWorkspace()
      • setWorkspace

        public void setWorkspace​(Workspace workspace)
      • getPort

        public String getPort()
      • getClient

        public String getClient()
      • getSyncID

        public String getSyncID()
      • getUser

        public String getUser()
      • getTicket

        public String getTicket()
      • getTag

        public String getTag()
      • getLabel

        public com.perforce.p4java.impl.generic.core.Label getLabel​(String tag)
        Method used by Jelly code to show Label information (do not remove)
        Parameters:
        tag - Label name
        Returns:
        Perforce Label object
      • getLastChange

        public static List<P4Ref> getLastChange​(Run<?,​?> run,
                                                TaskListener listener,
                                                String syncID)
        Change reporting...
        Parameters:
        run - The current build
        listener - Listener for logging
        syncID - Changelist Sync ID
        Returns:
        Perforce change
      • getLastAction

        public static TagAction getLastAction​(Run<?,​?> run)
        Find the last action; use this for environment variable as the last action has the latest values.
        Parameters:
        run - The current build
        Returns:
        Action
      • getReview

        public P4Review getReview()
      • setChangelog

        public void setChangelog​(File changelog)
      • getChangelog

        public File getChangelog()
      • setJenkinsPath

        public void setJenkinsPath​(String jenkinsPath)
      • getJenkinsPath

        public String getJenkinsPath()