public class ScriptSCM
extends hudson.scm.SCM
| Modifier and Type | Class and Description |
|---|---|
static class |
ScriptSCM.DescriptorImpl |
static class |
ScriptSCM.PropertiesBuilder |
static class |
ScriptSCM.Utils |
| Constructor and Description |
|---|
ScriptSCM(String groovyScript,
String groovyScriptFile,
String bindings,
String groovyClasspath) |
| Modifier and Type | Method and Description |
|---|---|
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,
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() |
boolean |
executeAnt(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
String targets,
String antName,
String antOpts,
String buildFile,
String properties) |
boolean |
executeAnt(hudson.model.AbstractProject<?,?> project,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
String targets,
String antName,
String antOpts,
String buildFile,
String properties) |
String |
getBindings() |
hudson.scm.RepositoryBrowser<ScriptSCMChangeLogEntry> |
getBrowser() |
String |
getGroovyClasspath() |
String |
getGroovyScript() |
String |
getGroovyScriptFile() |
void |
setBindings(String bindings) |
void |
setGroovyClasspath(String groovyClasspath) |
void |
setGroovyScript(String groovyScript) |
void |
setGroovyScriptFile(String groovyScriptFile) |
_calcRevisionsFromBuild, _for, all, buildEnvVars, createEmptyChangeLog, getApi, getDescriptor, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPollingpublic boolean executeAnt(hudson.model.AbstractProject<?,?> project,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
String targets,
String antName,
String antOpts,
String buildFile,
String properties)
throws ScriptTriggerException
ScriptTriggerExceptionpublic boolean executeAnt(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
String targets,
String antName,
String antOpts,
String buildFile,
String properties)
throws ScriptTriggerException
ScriptTriggerExceptionpublic hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
calcRevisionsFromBuild in class hudson.scm.SCMIOExceptionInterruptedExceptionpublic boolean checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changelogFile)
throws IOException,
InterruptedException
checkout in class hudson.scm.SCMIOExceptionInterruptedExceptionprotected hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline)
throws IOException,
InterruptedException
compareRemoteRevisionWith in class hudson.scm.SCMIOExceptionInterruptedExceptionpublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.SCMpublic hudson.scm.RepositoryBrowser<ScriptSCMChangeLogEntry> getBrowser()
getBrowser in class hudson.scm.SCMpublic String getGroovyScript()
public void setGroovyScript(String groovyScript)
public String getGroovyScriptFile()
public void setGroovyScriptFile(String groovyScriptFile)
public String getBindings()
public void setBindings(String bindings)
public String getGroovyClasspath()
public void setGroovyClasspath(String groovyClasspath)
Copyright © 2004-2015. All Rights Reserved.