com.thoughtsonmobile.jenkins.cocoapods
Class CocoaPodsBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.thoughtsonmobile.jenkins.cocoapods.CocoaPodsBuilder
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep
public class CocoaPodsBuilder
- extends hudson.tasks.Builder
CocoaPods Builder. This builder performs a "pod install" and "pod
update" if it is configured in a jenkins build.
- Version:
- 0.2
- Author:
- Leif Janzik (leif.janzik@gmail.com)
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
Constructor Summary |
CocoaPodsBuilder(boolean cleanpods)
Creates a new CocoaPodsBuilder object. |
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 |
CocoaPodsBuilder
@DataBoundConstructor
public CocoaPodsBuilder(boolean cleanpods)
- Creates a new CocoaPodsBuilder object.
- Parameters:
cleanpods
- value of per-project checkbox, if true the "pod" folder will
be removed before refreshing pods
getDescriptor
public CocoaPodsBuilder.DescriptorImpl getDescriptor()
- returns builder descriptor.
- Specified by:
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
- Overrides:
getDescriptor
in class hudson.tasks.Builder
- Returns:
- builder descriptor
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- This method is called during a jenkins build.
- Specified by:
perform
in interface hudson.tasks.BuildStep
- Overrides:
perform
in class hudson.tasks.BuildStepCompatibilityLayer
- Parameters:
build
- current buildlauncher
- the launcherlistener
- the build listener
- Returns:
- true if build step was successfull, false otherwise.
Copyright © 2004-2012 Thoughts on Mobile. All Rights Reserved.