public class NexusArtifactUploader extends hudson.tasks.Builder implements jenkins.tasks.SimpleBuildStep, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
NexusArtifactUploader.DescriptorImpl<C extends com.cloudbees.plugins.credentials.common.StandardCredentials> |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
NexusArtifactUploader(String nexusVersion,
String protocol,
String nexusUrl,
String nexusUser,
hudson.util.Secret nexusPassword,
String groupId,
String artifactId,
String version,
String type,
String classifier,
String repository,
String file,
String credentialsId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId() |
String |
getClassifier() |
com.cloudbees.plugins.credentials.common.StandardUsernameCredentials |
getCredentials(hudson.model.Item project) |
String |
getCredentialsId() |
NexusArtifactUploader.DescriptorImpl |
getDescriptor() |
String |
getFile() |
String |
getGroupId() |
hudson.util.Secret |
getNexusPassword() |
String |
getNexusUrl() |
String |
getNexusUser() |
String |
getNexusVersion() |
String |
getPassword(hudson.EnvVars environment,
hudson.model.Item project) |
String |
getProtocol() |
String |
getRepository() |
String |
getType() |
String |
getUsername(hudson.EnvVars environment,
hudson.model.Item project) |
String |
getVersion() |
static com.cloudbees.plugins.credentials.common.StandardUsernameCredentials |
lookupSystemCredentials(String credentialsId,
hudson.model.Item project) |
void |
perform(hudson.model.Run build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild@DataBoundConstructor public NexusArtifactUploader(String nexusVersion, String protocol, String nexusUrl, String nexusUser, hudson.util.Secret nexusPassword, String groupId, String artifactId, String version, String type, String classifier, String repository, String file, String credentialsId)
public String getNexusVersion()
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 getType()
public String getClassifier()
public String getRepository()
public String getFile()
public com.cloudbees.plugins.credentials.common.StandardUsernameCredentials getCredentials(hudson.model.Item project)
public static com.cloudbees.plugins.credentials.common.StandardUsernameCredentials lookupSystemCredentials(String credentialsId, hudson.model.Item project)
public String getUsername(hudson.EnvVars environment, hudson.model.Item project)
public String getPassword(hudson.EnvVars environment, hudson.model.Item project)
public void perform(hudson.model.Run build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
perform in interface jenkins.tasks.SimpleBuildStepIOExceptionInterruptedExceptionpublic NexusArtifactUploader.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016. All rights reserved.