Package au.com.rayh
Class DeveloperProfileLoader
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
au.com.rayh.DeveloperProfileLoader
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,SimpleBuildStep
Installs
DeveloperProfile into the current slave and unlocks its keychain
in preparation for the signing that uses it.
TODO: destroy identity in the end.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeychain(String keychainName) Deprecated.getKeychainPasswordAndPath(Item context, String keychainId) getProfile(Item context, String profileId) voidimportAppleCert(Launcher launcher, TaskListener listener, FilePath workspace, String keychainPath) booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) voidperform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) voidsetImportIntoExistingKeychain(Boolean importIntoExistingKeychain) voidsetKeychainId(String keychainId) voidsetKeychainName(String keychainName) Deprecated.voidsetKeychainPath(String keychainPath) voidsetKeychainPwd(Secret keychainPwd) voidsetProfileId(String developerProfileId) Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
DeveloperProfileLoader
@DataBoundConstructor public DeveloperProfileLoader() -
DeveloperProfileLoader
Deprecated.
-
-
Method Details
-
getProfileId
-
setProfileId
-
getImportIntoExistingKeychain
-
setImportIntoExistingKeychain
-
getKeychainId
-
getKeychainName
Deprecated. -
setKeychainId
-
setKeychainName
Deprecated. -
getKeychainPath
-
setKeychainPath
-
getKeychainPwd
-
setKeychainPwd
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-
getGlobalConfiguration
-
getKeychain
-
getKeychainPasswordAndPath
-
importAppleCert
public void importAppleCert(Launcher launcher, TaskListener listener, FilePath workspace, String keychainPath) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
getProfile
-