Package sp.sd.nexusartifactuploader
Class NexusArtifactUploader
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
sp.sd.nexusartifactuploader.NexusArtifactUploader
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,Serializable,SimpleBuildStep
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNexusArtifactUploader.DescriptorImpl<C extends com.cloudbees.plugins.credentials.common.StandardCredentials>Nested 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 TypeMethodDescriptioncom.cloudbees.plugins.credentials.common.StandardUsernameCredentialsgetCredentials(Item project) getPassword(EnvVars environment, Item project) getUsername(EnvVars environment, Item project) static com.cloudbees.plugins.credentials.common.StandardUsernameCredentialslookupSystemCredentials(String credentialsId, Item project) voidperform(Run build, FilePath workspace, Launcher launcher, TaskListener listener) Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, 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, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
NexusArtifactUploader
-
-
Method Details
-
getNexusVersion
-
getProtocol
-
getNexusUrl
-
getGroupId
-
getVersion
-
getRepository
-
getArtifacts
-
getCredentialsId
-
getCredentials
public com.cloudbees.plugins.credentials.common.StandardUsernameCredentials getCredentials(Item project) -
lookupSystemCredentials
-
getUsername
-
getPassword
-
perform
public void perform(Run build, FilePath workspace, Launcher launcher, TaskListener listener) throws IOException, InterruptedException - Specified by:
performin interfaceSimpleBuildStep- Throws:
IOExceptionInterruptedException
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-