au.com.rayh
Class XCodeBuilder

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by au.com.rayh.XCodeBuilder
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep

public class XCodeBuilder
extends hudson.tasks.Builder

Author:
Ray Hilton

Nested Class Summary
static class XCodeBuilder.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 Boolean allowFailingBuildResults
           
 Boolean buildIpa
           
 String cfBundleShortVersionStringValue
           
 String cfBundleVersionValue
           
 Boolean cleanBeforeBuild
           
 Boolean cleanTestReports
           
 String codeSigningIdentity
           
 String configuration
           
 String configurationBuildDir
           
 String embeddedProfileFile
           
 Boolean generateArchive
           
 String ipaName
           
 String ipaOutputDirectory
           
 String keychainName
           
 String keychainPath
           
 String keychainPwd
           
 Boolean provideApplicationVersion
           
 String sdk
           
 String symRoot
           
 String target
           
 Boolean unlockKeychain
           
 String xcodebuildArguments
           
 String xcodeProjectFile
           
 String xcodeProjectPath
           
 String xcodeSchema
           
 String xcodeWorkspaceFile
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
XCodeBuilder(Boolean buildIpa, Boolean generateArchive, Boolean cleanBeforeBuild, Boolean cleanTestReports, String configuration, String target, String sdk, String xcodeProjectPath, String xcodeProjectFile, String xcodebuildArguments, String embeddedProfileFile, String cfBundleVersionValue, String cfBundleShortVersionStringValue, Boolean unlockKeychain, String keychainName, String keychainPath, String keychainPwd, String symRoot, String xcodeWorkspaceFile, String xcodeSchema, String configurationBuildDir, String codeSigningIdentity, Boolean allowFailingBuildResults, String ipaName, Boolean provideApplicationVersion, String ipaOutputDirectory)
           
 
Method Summary
 XCodeBuilder.DescriptorImpl getDescriptor()
           
 GlobalConfigurationImpl getGlobalConfiguration()
           
 Keychain getKeychain()
           
 boolean perform(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
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
 

Field Detail

cleanBeforeBuild

public final Boolean cleanBeforeBuild
Since:
1.0

cleanTestReports

public final Boolean cleanTestReports
Since:
1.3

configuration

public final String configuration
Since:
1.0

target

public final String target
Since:
1.0

sdk

public final String sdk
Since:
1.0

symRoot

public final String symRoot
Since:
1.1

configurationBuildDir

public final String configurationBuildDir
Since:
1.2

xcodeProjectPath

public final String xcodeProjectPath
Since:
1.0

xcodeProjectFile

public final String xcodeProjectFile
Since:
1.0

xcodebuildArguments

public final String xcodebuildArguments
Since:
1.3

xcodeSchema

public final String xcodeSchema
Since:
1.2

xcodeWorkspaceFile

public final String xcodeWorkspaceFile
Since:
1.2

embeddedProfileFile

public final String embeddedProfileFile
Since:
1.0

cfBundleVersionValue

public final String cfBundleVersionValue
Since:
1.0

cfBundleShortVersionStringValue

public final String cfBundleShortVersionStringValue
Since:
1.0

buildIpa

public final Boolean buildIpa
Since:
1.0

generateArchive

public final Boolean generateArchive
Since:
1.0

unlockKeychain

public final Boolean unlockKeychain
Since:
1.5

keychainName

public final String keychainName
Since:
1.4

keychainPath

public final String keychainPath
Since:
1.0

keychainPwd

public final String keychainPwd
Since:
1.0

codeSigningIdentity

public final String codeSigningIdentity
Since:
1.3.3

allowFailingBuildResults

public final Boolean allowFailingBuildResults
Since:
1.4

ipaName

public final String ipaName
Since:
1.4

ipaOutputDirectory

public final String ipaOutputDirectory
Since:
1.4

provideApplicationVersion

public final Boolean provideApplicationVersion
Since:
1.4
Constructor Detail

XCodeBuilder

@DataBoundConstructor
public XCodeBuilder(Boolean buildIpa,
                                         Boolean generateArchive,
                                         Boolean cleanBeforeBuild,
                                         Boolean cleanTestReports,
                                         String configuration,
                                         String target,
                                         String sdk,
                                         String xcodeProjectPath,
                                         String xcodeProjectFile,
                                         String xcodebuildArguments,
                                         String embeddedProfileFile,
                                         String cfBundleVersionValue,
                                         String cfBundleShortVersionStringValue,
                                         Boolean unlockKeychain,
                                         String keychainName,
                                         String keychainPath,
                                         String keychainPwd,
                                         String symRoot,
                                         String xcodeWorkspaceFile,
                                         String xcodeSchema,
                                         String configurationBuildDir,
                                         String codeSigningIdentity,
                                         Boolean allowFailingBuildResults,
                                         String ipaName,
                                         Boolean provideApplicationVersion,
                                         String ipaOutputDirectory)
Method Detail

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

getKeychain

public Keychain getKeychain()

getGlobalConfiguration

public GlobalConfigurationImpl getGlobalConfiguration()

getDescriptor

public XCodeBuilder.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.