hudson.plugins.gradle
Class Gradle
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.gradle.Gradle
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep, org.jenkinsci.lib.dryrun.DryRun
public class Gradle
- extends hudson.tasks.Builder
- implements org.jenkinsci.lib.dryrun.DryRun
- Author:
- Gregory Boissinot
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
Constructor Summary |
Gradle(String description,
String switches,
String tasks,
String rootBuildScriptDir,
String buildFile,
String gradleName,
boolean useWrapper,
boolean makeExecutable,
boolean fromRootBuildScriptDir)
|
Methods inherited from class hudson.tasks.Builder |
all, getRequiredMonitorService, prebuild |
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hudson.tasks.BuildStep |
getProjectAction, getProjectActions, prebuild |
Gradle
@DataBoundConstructor
public Gradle(String description,
String switches,
String tasks,
String rootBuildScriptDir,
String buildFile,
String gradleName,
boolean useWrapper,
boolean makeExecutable,
boolean fromRootBuildScriptDir)
getSwitches
public String getSwitches()
getBuildFile
public String getBuildFile()
getGradleName
public String getGradleName()
getTasks
public String getTasks()
getDescription
public String getDescription()
isUseWrapper
public boolean isUseWrapper()
getRootBuildScriptDir
public String getRootBuildScriptDir()
isMakeExecutable
public boolean isMakeExecutable()
isFromRootBuildScriptDir
public boolean isFromRootBuildScriptDir()
getGradle
public GradleInstallation getGradle()
performDryRun
public boolean performDryRun(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
performDryRun
in interface org.jenkinsci.lib.dryrun.DryRun
- Throws:
InterruptedException
IOException
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform
in interface hudson.tasks.BuildStep
- Overrides:
perform
in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
getDescriptor
public Gradle.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
- Overrides:
getDescriptor
in class hudson.tasks.Builder
Copyright © 2004-2013. All Rights Reserved.