public class OSSPublisher
extends hudson.tasks.Publisher
implements jenkins.tasks.SimpleBuildStep
限定符和类型 | 类和说明 |
---|---|
static class |
OSSPublisher.DescriptorImpl |
构造器和说明 |
---|
OSSPublisher(String endpoint,
String accessKeyId,
String accessKeySecret,
String bucketName,
String localPath,
String remotePath,
String maxRetries) |
限定符和类型 | 方法和说明 |
---|---|
String |
getAccessKeyId() |
String |
getAccessKeySecret() |
String |
getBucketName() |
String |
getEndpoint() |
String |
getLocalPath() |
int |
getMaxRetries() |
String |
getRemotePath() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
all, getDescriptor, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
public String getEndpoint()
public String getAccessKeyId()
public String getAccessKeySecret()
public String getBucketName()
public String getLocalPath()
public String getRemotePath()
public int getMaxRetries()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
在接口中 hudson.tasks.BuildStep
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
在接口中 jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
Copyright © 2016–2021. All rights reserved.