public class NugetPublishCommand extends Object
Modifier and Type | Field and Description |
---|---|
protected NugetGlobalConfiguration |
configuration |
protected boolean |
failed |
protected hudson.model.TaskListener |
listener |
Constructor and Description |
---|
NugetPublishCommand(hudson.model.TaskListener listener,
NugetGlobalConfiguration configuration,
hudson.FilePath workDir,
hudson.FilePath packageFile,
String publishPath,
NugetPublication publication) |
Modifier and Type | Method and Description |
---|---|
protected hudson.Launcher.ProcStarter |
customize(hudson.Launcher.ProcStarter starter) |
protected void |
enrichArguments(hudson.util.ArgumentListBuilder builder) |
boolean |
execute() |
protected void |
HandleResult(int result) |
boolean |
isFailed() |
boolean |
isSuccess() |
protected void |
logError(String message) |
protected void |
logInfo(String message) |
protected hudson.model.TaskListener listener
protected NugetGlobalConfiguration configuration
protected boolean failed
public NugetPublishCommand(hudson.model.TaskListener listener, NugetGlobalConfiguration configuration, hudson.FilePath workDir, hudson.FilePath packageFile, String publishPath, NugetPublication publication)
protected void enrichArguments(hudson.util.ArgumentListBuilder builder)
public boolean execute() throws IOException
IOException
protected void HandleResult(int result) throws IOException
IOException
protected hudson.Launcher.ProcStarter customize(hudson.Launcher.ProcStarter starter)
protected void logInfo(String message)
protected void logError(String message)
public boolean isFailed()
public boolean isSuccess()
Copyright © 2016–2021. All rights reserved.