public class TaggingTask extends AbstractTask implements hudson.FilePath.FileCallable<Boolean>, Serializable
Constructor and Description |
---|
TaggingTask(String credential,
hudson.model.Run<?,?> run,
hudson.model.TaskListener listener,
String name,
String description) |
Modifier and Type | Method and Description |
---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker checker) |
Boolean |
invoke(File workspace,
hudson.remoting.VirtualChannel channel) |
void |
setBuildChange(Object buildChange) |
Object |
task(ClientHelper p4)
Implements the Perforce task to retry if necessary
|
checkConnection, getClientName, getCredential, getListener, getSyncID, getWorkspace, setEnvironment, setWorkspace, tryTask
public Boolean invoke(File workspace, hudson.remoting.VirtualChannel channel) throws IOException
invoke
in interface hudson.FilePath.FileCallable<Boolean>
IOException
public Object task(ClientHelper p4) throws Exception
AbstractTask
task
in class AbstractTask
p4
- Perforce connection helperException
- push up stackpublic void setBuildChange(Object buildChange)
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
checkRoles
in interface org.jenkinsci.remoting.RoleSensitive
SecurityException
Copyright © 2016–2021. All rights reserved.