Class BlobStoreEntry
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BlobStoreEntry>
-
- jenkins.plugins.jclouds.blobstore.BlobStoreEntry
-
- All Implemented Interfaces:
Describable<BlobStoreEntry>
public final class BlobStoreEntry extends AbstractDescribableImpl<BlobStoreEntry>
A simple "bean" for blobstore entries.- Author:
- Vijay Kiran
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlobStoreEntry.DescriptorImpl
-
Field Summary
Fields Modifier and Type Field Description boolean
allowEmptyFileset
Whether an empty file is allowed without failing the build.String
container
The container where the file is saved.boolean
keepHierarchy
Whether or not the sourceFile's path relative to the workspace should be preserved upon upload to the Blobstore.boolean
onlyIfSuccessful
Whether to publish only for successful builds.String
path
The sub path under the container where the file is saved.String
sourceFile
The source file relative to the workspace directory, which needs to be uploaded to the container.
-
Constructor Summary
Constructors Constructor Description BlobStoreEntry(String container, String path, String sourceFile, boolean keepHierarchy, boolean allowEmptyFileset, boolean onlyIfSuccessful)
-
-
-
Field Detail
-
container
public final String container
The container where the file is saved. See http://www.jclouds.org/documentation/userguide/blobstore-guide#container
-
path
public final String path
The sub path under the container where the file is saved.
-
sourceFile
public final String sourceFile
The source file relative to the workspace directory, which needs to be uploaded to the container.
-
keepHierarchy
public final boolean keepHierarchy
Whether or not the sourceFile's path relative to the workspace should be preserved upon upload to the Blobstore.
-
allowEmptyFileset
public final boolean allowEmptyFileset
Whether an empty file is allowed without failing the build.
-
onlyIfSuccessful
public final boolean onlyIfSuccessful
Whether to publish only for successful builds.
-
-
Constructor Detail
-
BlobStoreEntry
@DataBoundConstructor public BlobStoreEntry(String container, String path, String sourceFile, boolean keepHierarchy, boolean allowEmptyFileset, boolean onlyIfSuccessful)
-
-