public class NexusArtifactUploader extends hudson.tasks.Builder implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
NexusArtifactUploader.DescriptorImpl<C extends com.cloudbees.plugins.credentials.common.StandardCredentials> |
static class |
NexusArtifactUploader.LinkAction |
| Constructor and Description |
|---|
NexusArtifactUploader(String protocol,
String nexusUrl,
String nexusUser,
hudson.util.Secret nexusPassword,
String groupId,
String artifactId,
String version,
String packaging,
String repository,
String file,
String credentialsId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId() |
com.cloudbees.plugins.credentials.common.StandardUsernameCredentials |
getCredentials() |
String |
getCredentialsId() |
NexusArtifactUploader.DescriptorImpl |
getDescriptor() |
String |
getFile() |
String |
getGroupId() |
hudson.util.Secret |
getNexusPassword() |
String |
getNexusUrl() |
String |
getNexusUser() |
String |
getPackaging() |
String |
getPassword(hudson.EnvVars environment) |
String |
getProtocol() |
String |
getRepository() |
String |
getUsername(hudson.EnvVars environment) |
String |
getVersion() |
static com.cloudbees.plugins.credentials.common.StandardUsernameCredentials |
lookupSystemCredentials(String credentialsId) |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
public String getProtocol()
public String getNexusUrl()
public String getNexusUser()
public hudson.util.Secret getNexusPassword()
public String getGroupId()
public String getArtifactId()
public String getVersion()
public String getPackaging()
public String getRepository()
public String getFile()
public final String getCredentialsId()
public com.cloudbees.plugins.credentials.common.StandardUsernameCredentials getCredentials()
public static com.cloudbees.plugins.credentials.common.StandardUsernameCredentials lookupSystemCredentials(String credentialsId)
public String getUsername(hudson.EnvVars environment)
public String getPassword(hudson.EnvVars environment)
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 NexusArtifactUploader.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016. All rights reserved.