public class S3Profile extends Object
| Constructor and Description |
|---|
S3Profile() |
S3Profile(String name,
String accessKey,
String secretKey,
String proxyHost,
String proxyPort,
boolean useRole) |
| Modifier and Type | Method and Description |
|---|---|
void |
check() |
void |
delete(hudson.model.Run build,
FingerprintRecord record)
Delete some artifacts of a given run
|
List<FingerprintRecord> |
downloadAll(hudson.model.Run build,
List<FingerprintRecord> artifacts,
String expandedFilter,
hudson.FilePath targetDir,
boolean flatten,
PrintStream console)
Download all artifacts from a given build
|
String |
getAccessKey() |
com.amazonaws.services.s3.AmazonS3Client |
getClient() |
String |
getDownloadURL(hudson.model.Run build,
FingerprintRecord record) |
String |
getName() |
hudson.util.Secret |
getSecretKey() |
boolean |
getUseRole() |
List<String> |
list(hudson.model.Run build,
String bucket,
String expandedFilter) |
void |
setAccessKey(String accessKey) |
void |
setName(String name) |
void |
setUseRole(boolean useRole) |
FingerprintRecord |
upload(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String bucketName,
hudson.FilePath filePath,
int searchPathLength,
List<MetadataPair> userMetadata,
String storageClass,
String selregion,
boolean uploadFromSlave,
boolean managedArtifacts) |
public final String getAccessKey()
public void setAccessKey(String accessKey)
public final hudson.util.Secret getSecretKey()
public final String getName()
public void setName(String name)
public final boolean getUseRole()
public void setUseRole(boolean useRole)
public com.amazonaws.services.s3.AmazonS3Client getClient()
public FingerprintRecord upload(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, String bucketName, hudson.FilePath filePath, int searchPathLength, List<MetadataPair> userMetadata, String storageClass, String selregion, boolean uploadFromSlave, boolean managedArtifacts) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic List<FingerprintRecord> downloadAll(hudson.model.Run build, List<FingerprintRecord> artifacts, String expandedFilter, hudson.FilePath targetDir, boolean flatten, PrintStream console)
public void delete(hudson.model.Run build,
FingerprintRecord record)
build - artifact - public String getDownloadURL(hudson.model.Run build, FingerprintRecord record)
Copyright © 2004-2014. All Rights Reserved.