public class P4GroovyTask extends AbstractTask implements hudson.FilePath.FileCallable<Map<String,Object>[]>, Serializable
Constructor and Description |
---|
P4GroovyTask(String cmd,
String... args) |
P4GroovyTask(String cmd,
String[] args,
Map<String,Object> spec) |
Modifier and Type | Method and Description |
---|---|
void |
checkRoles(org.jenkinsci.remoting.RoleChecker checker) |
Map<String,Object>[] |
invoke(File workspace,
hudson.remoting.VirtualChannel channel) |
Object |
task(ClientHelper p4)
Implements the Perforce task to retry if necessary
|
checkConnection, getClient, getConnection, getCredential, getListener, getSyncID, getWorkspace, setCredential, setCredential, setCredential, setEnvironment, setListener, setWorkspace, tryTask
public Map<String,Object>[] invoke(File workspace, hudson.remoting.VirtualChannel channel) throws IOException
invoke
in interface hudson.FilePath.FileCallable<Map<String,Object>[]>
IOException
public Object task(ClientHelper p4) throws Exception
AbstractTask
task
in class AbstractTask
p4
- Perforce connection helperException
- push up stackpublic void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
checkRoles
in interface org.jenkinsci.remoting.RoleSensitive
SecurityException
Copyright © 2016–2017. All rights reserved.