Package au.com.rayh
Class KeychainUnlockStep
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
au.com.rayh.KeychainUnlockStep
- 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) booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) voidperform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) voidsetKeychainId(String keychainId) voidsetKeychainName(String keychainName) Deprecated.voidsetKeychainPath(String keychainPath) voidsetKeychainPwd(Secret keychainPwd) 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
-
KeychainUnlockStep
@DataBoundConstructor public KeychainUnlockStep() -
KeychainUnlockStep
Deprecated.
-
-
Method Details
-
getKeychainName
Deprecated. -
getKeychainId
-
setKeychainName
Deprecated. -
setKeychainId
-
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
-