public class NugetPublisher
extends hudson.tasks.Recorder
Modifier and Type | Class and Description |
---|---|
static class |
NugetPublisher.NugetPublisherDescriptor |
hudson.tasks.Publisher.DescriptorExtensionListImpl
Modifier and Type | Field and Description |
---|---|
protected boolean |
doNotFailIfNoPackagesArePublished |
protected static Logger |
logger |
protected String |
name |
protected String |
nugetPublicationName |
protected String |
packagesExclusionPattern |
protected String |
packagesPattern |
protected String |
publishPath |
Constructor and Description |
---|
NugetPublisher(String name,
String packagesPattern,
String publishPath,
String nugetPublicationName,
String packagesExclusionPattern,
boolean doNotFailIfNoPackagesArePublished) |
Modifier and Type | Method and Description |
---|---|
protected hudson.FilePath |
getFilesRoot(hudson.model.AbstractBuild<?,?> build) |
String |
getName() |
String |
getNugetPublicationName() |
String |
getPackagesExclusionPattern() |
String |
getPackagesPattern() |
String |
getPublishPath() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
protected hudson.FilePath |
getWorkspace(hudson.model.AbstractBuild<?,?> build) |
boolean |
isDoNotFailIfNoPackagesArePublished() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
protected static final Logger logger
protected String name
protected String packagesPattern
protected String publishPath
protected String nugetPublicationName
protected String packagesExclusionPattern
protected boolean doNotFailIfNoPackagesArePublished
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
protected hudson.FilePath getFilesRoot(hudson.model.AbstractBuild<?,?> build)
protected hudson.FilePath getWorkspace(hudson.model.AbstractBuild<?,?> build)
public String getName()
public String getPackagesPattern()
public String getPublishPath()
public String getPackagesExclusionPattern()
public String getNugetPublicationName()
public boolean isDoNotFailIfNoPackagesArePublished()
Copyright © 2016–2021. All rights reserved.