public class TagAction
extends hudson.scm.AbstractScmTagAction
Constructor and Description |
---|
TagAction(hudson.model.Run<?,?> run,
String credential) |
Modifier and Type | Method and Description |
---|---|
void |
doSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
P4Revision |
getBuildChange()
Deprecated.
|
File |
getChangelog() |
String |
getClient() |
String |
getCredential() |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getJenkinsPath() |
com.perforce.p4java.impl.generic.core.Label |
getLabel(String tag)
Method used by Jelly code to show Label information (do not remove)
|
static TagAction |
getLastAction(hudson.model.Run<?,?> run)
Find the last action; use this for environment variable as the last action has the latest values.
|
static List<P4Ref> |
getLastChange(hudson.model.Run<?,?> run,
hudson.model.TaskListener listener,
String syncID)
Change reporting...
|
String |
getPort() |
P4Ref |
getRefChange() |
List<P4Ref> |
getRefChanges() |
P4Review |
getReview() |
String |
getSyncID() |
String |
getTag() |
List<String> |
getTags() |
String |
getTicket() |
String |
getUser() |
Workspace |
getWorkspace() |
boolean |
isTagged() |
void |
labelBuild(hudson.model.TaskListener listener,
String name,
String description,
hudson.FilePath nodeWorkspace) |
void |
setBuildChange(P4Revision buildChange)
Deprecated.
|
void |
setChangelog(File changelog) |
void |
setJenkinsPath(String jenkinsPath) |
void |
setRefChanges(List<P4Ref> refChanges) |
void |
setWorkspace(Workspace workspace) |
chooseAction, doIndex, getACL, getBuild, getPermission, getRun, getTooltip, getUrlName, onAttached, onLoad
doClearError, doProgressiveHtml, doProgressiveLog, getLog, getSearchUrl, getWorkerThread, obtainLog
public TagAction(hudson.model.Run<?,?> run, String credential) throws IOException, InterruptedException
IOException
InterruptedException
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
getIconFileName
in class hudson.model.TaskAction
public String getDisplayName()
public boolean isTagged()
isTagged
in class hudson.scm.AbstractScmTagAction
@POST public void doSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws Exception, javax.servlet.ServletException
Exception
javax.servlet.ServletException
public void labelBuild(hudson.model.TaskListener listener, String name, String description, hudson.FilePath nodeWorkspace) throws Exception
Exception
public P4Ref getRefChange()
@Deprecated public void setBuildChange(P4Revision buildChange)
@Deprecated public P4Revision getBuildChange()
public String getCredential()
public Workspace getWorkspace()
public void setWorkspace(Workspace workspace)
public String getPort()
public String getClient()
public String getSyncID()
public String getUser()
public String getTicket()
public String getTag()
public com.perforce.p4java.impl.generic.core.Label getLabel(String tag)
tag
- Label namepublic static List<P4Ref> getLastChange(hudson.model.Run<?,?> run, hudson.model.TaskListener listener, String syncID)
run
- The current buildlistener
- Listener for loggingsyncID
- Changelist Sync IDpublic static TagAction getLastAction(hudson.model.Run<?,?> run)
run
- The current buildpublic P4Review getReview()
public void setChangelog(File changelog)
public File getChangelog()
public void setJenkinsPath(String jenkinsPath)
public String getJenkinsPath()
Copyright © 2016–2022. All rights reserved.