public class KeychainUnlockStep extends Builder implements SimpleBuildStep
DeveloperProfile
into the current slave and unlocks its keychain
in preparation for the signing that uses it.
TODO: destroy identity in the end.Modifier and Type | Class and Description |
---|---|
static class |
KeychainUnlockStep.DescriptorImpl |
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
BUILDERS, PUBLISHERS
Constructor and Description |
---|
KeychainUnlockStep() |
KeychainUnlockStep(String keychainName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
KeychainUnlockStep.DescriptorImpl |
getDescriptor() |
GlobalConfigurationImpl |
getGlobalConfiguration() |
Keychain |
getKeychain(String keychainName) |
String |
getKeychainId() |
String |
getKeychainName()
Deprecated.
|
KeychainPasswordAndPath |
getKeychainPasswordAndPath(Item context,
String keychainId) |
String |
getKeychainPath() |
Secret |
getKeychainPwd() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
void |
setKeychainId(String keychainId) |
void |
setKeychainName(String keychainName)
Deprecated.
|
void |
setKeychainPath(String keychainPath) |
void |
setKeychainPwd(Secret keychainPwd) |
all, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform, perform, requiresWorkspace
getProjectAction, getProjectActions, getRequiredMonitorService, prebuild
@DataBoundConstructor public KeychainUnlockStep()
@Deprecated public KeychainUnlockStep(String keychainName)
@Deprecated @CheckForNull public String getKeychainName()
@CheckForNull public String getKeychainId()
@Deprecated @DataBoundSetter public void setKeychainName(String keychainName)
@DataBoundSetter public void setKeychainId(String keychainId)
@CheckForNull public String getKeychainPath()
@DataBoundSetter public void setKeychainPath(String keychainPath)
@CheckForNull public Secret getKeychainPwd()
@DataBoundSetter public void setKeychainPwd(Secret keychainPwd)
public void perform(@NonNull Run<?,?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException
perform
in interface SimpleBuildStep
InterruptedException
IOException
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform
in interface BuildStep
perform
in class BuildStepCompatibilityLayer
InterruptedException
IOException
public KeychainUnlockStep.DescriptorImpl getDescriptor()
getDescriptor
in interface Describable<Builder>
getDescriptor
in class Builder
public GlobalConfigurationImpl getGlobalConfiguration()
public KeychainPasswordAndPath getKeychainPasswordAndPath(Item context, String keychainId)
Copyright © 2016–2022. All rights reserved.