com.cwctravel.hudson.plugins.script_scm
Class ScriptSCM
java.lang.Object
hudson.scm.SCM
com.cwctravel.hudson.plugins.script_scm.ScriptSCM
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>
public class ScriptSCM
- extends hudson.scm.SCM
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.scm.SCM |
PERMISSIONS, TAG |
|
Constructor Summary |
ScriptSCM(java.lang.String groovyScript,
java.lang.String groovyScriptFile,
java.lang.String bindings)
|
|
Method Summary |
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
|
boolean |
checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
java.io.File changelogFile)
|
protected hudson.scm.PollingResult |
compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline)
|
hudson.scm.ChangeLogParser |
createChangeLogParser()
|
void |
executeAnt(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
java.lang.String targets,
java.lang.String antName,
java.lang.String antOpts,
java.lang.String buildFile,
java.lang.String properties)
|
void |
executeAnt(hudson.model.AbstractProject<?,?> project,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
java.lang.String targets,
java.lang.String antName,
java.lang.String antOpts,
java.lang.String buildFile,
java.lang.String properties)
|
java.lang.String |
getBindings()
|
java.lang.String |
getGroovyScript()
|
java.lang.String |
getGroovyScriptFile()
|
void |
setBindings(java.lang.String bindings)
|
void |
setGroovyScript(java.lang.String groovyScript)
|
void |
setGroovyScriptFile(java.lang.String groovyScriptFile)
|
| Methods inherited from class hudson.scm.SCM |
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptSCM
public ScriptSCM(java.lang.String groovyScript,
java.lang.String groovyScriptFile,
java.lang.String bindings)
executeAnt
public void executeAnt(hudson.model.AbstractProject<?,?> project,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
java.lang.String targets,
java.lang.String antName,
java.lang.String antOpts,
java.lang.String buildFile,
java.lang.String properties)
throws ScriptTriggerException
- Throws:
ScriptTriggerException
executeAnt
public void executeAnt(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
java.lang.String targets,
java.lang.String antName,
java.lang.String antOpts,
java.lang.String buildFile,
java.lang.String properties)
throws ScriptTriggerException
- Throws:
ScriptTriggerException
calcRevisionsFromBuild
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
calcRevisionsFromBuild in class hudson.scm.SCM
- Throws:
java.io.IOException
java.lang.InterruptedException
checkout
public boolean checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
java.io.File changelogFile)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
checkout in class hudson.scm.SCM
- Throws:
java.io.IOException
java.lang.InterruptedException
compareRemoteRevisionWith
protected hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
compareRemoteRevisionWith in class hudson.scm.SCM
- Throws:
java.io.IOException
java.lang.InterruptedException
createChangeLogParser
public hudson.scm.ChangeLogParser createChangeLogParser()
- Specified by:
createChangeLogParser in class hudson.scm.SCM
getGroovyScript
public java.lang.String getGroovyScript()
setGroovyScript
public void setGroovyScript(java.lang.String groovyScript)
getGroovyScriptFile
public java.lang.String getGroovyScriptFile()
setGroovyScriptFile
public void setGroovyScriptFile(java.lang.String groovyScriptFile)
getBindings
public java.lang.String getBindings()
setBindings
public void setBindings(java.lang.String bindings)
Copyright © 2004-2012. All Rights Reserved.