public class ArtifactPromotionBuilder
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
ArtifactPromotionBuilder.ArtifactPromotionDescriptorImpl
Descriptor for
ArtifactPromotionBuilder. |
| Constructor and Description |
|---|
ArtifactPromotionBuilder(String groupId,
String artifactId,
String version,
String extension,
String stagingRepository,
String stagingUser,
hudson.util.Secret stagingPW,
String releaseUser,
hudson.util.Secret releasePW,
String releaseRepository,
boolean debug)
The dafeault constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId() |
ArtifactPromotionBuilder.ArtifactPromotionDescriptorImpl |
getDescriptor() |
String |
getExtension() |
String |
getGroupId() |
hudson.util.Secret |
getReleasePW() |
String |
getReleaseRepository() |
String |
getReleaseUser() |
hudson.util.Secret |
getStagingPW() |
String |
getStagingRepository() |
String |
getStagingUser() |
String |
getVersion() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
String |
toString() |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild@DataBoundConstructor public ArtifactPromotionBuilder(String groupId, String artifactId, String version, String extension, String stagingRepository, String stagingUser, hudson.util.Secret stagingPW, String releaseUser, hudson.util.Secret releasePW, String releaseRepository, boolean debug)
groupId - The groupId of the artifactartifactId - The artifactId of the artifact.version - The version of the artifact.extension - The file extension of the artifact.stagingRepository - The URL of the staging repository.stagingUser - User to be used on staging repo.stagingPW - Password to be used on staging repo.releaseUser - User to be used on release repo.releasePW - Password to be used on release repo.releaseRepository - The URL of the staging repositorydebug - Flag for debug output. Currently not used.public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerpublic ArtifactPromotionBuilder.ArtifactPromotionDescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.Builderpublic String getGroupId()
public String getArtifactId()
public String getVersion()
public String getExtension()
public String getStagingRepository()
public String getStagingUser()
public hudson.util.Secret getStagingPW()
public String getReleaseUser()
public hudson.util.Secret getReleasePW()
public String getReleaseRepository()
Copyright © 2014. All Rights Reserved.