public final class NexusArtifactUploaderStep
extends org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
Modifier and Type | Class and Description |
---|---|
static class |
NexusArtifactUploaderStep.DescriptorImpl |
static class |
NexusArtifactUploaderStep.Execution |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
NexusArtifactUploaderStep(String nexusVersion,
String protocol,
String nexusUrl,
String groupId,
String version,
String repository,
String credentialsId,
List<Artifact> artifacts) |
Modifier and Type | Method and Description |
---|---|
List<Artifact> |
getArtifacts() |
com.cloudbees.plugins.credentials.common.StandardUsernameCredentials |
getCredentials(Item project) |
String |
getCredentialsId() |
String |
getGroupId() |
String |
getNexusUrl() |
String |
getNexusVersion() |
String |
getPassword(EnvVars environment,
Item project) |
String |
getProtocol() |
String |
getRepository() |
String |
getUsername(EnvVars environment,
Item project) |
String |
getVersion() |
static com.cloudbees.plugins.credentials.common.StandardUsernameCredentials |
lookupSystemCredentials(String credentialsId,
Item project) |
public String getNexusVersion()
public String getProtocol()
public String getNexusUrl()
public String getGroupId()
public String getVersion()
public String getRepository()
@Nullable public String getCredentialsId()
public com.cloudbees.plugins.credentials.common.StandardUsernameCredentials getCredentials(Item project)
public static com.cloudbees.plugins.credentials.common.StandardUsernameCredentials lookupSystemCredentials(String credentialsId, Item project)
Copyright © 2016–2022. All rights reserved.