@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class JCloudsArtifactManager extends ArtifactManager implements org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManager
BlobStoreProvider.| Modifier and Type | Method and Description |
|---|---|
void |
archive(FilePath workspace,
Launcher launcher,
BuildListener listener,
Map<String,String> artifacts) |
void |
clearAllStashes(TaskListener listener) |
void |
copyAllArtifactsAndStashes(Run<?,?> to,
TaskListener listener) |
boolean |
delete() |
void |
onLoad(Run<?,?> build) |
VirtualFile |
root() |
void |
stash(String name,
FilePath workspace,
Launcher launcher,
EnvVars env,
TaskListener listener,
String includes,
String excludes,
boolean useDefaultExcludes,
boolean allowEmpty) |
void |
unstash(String name,
FilePath workspace,
Launcher launcher,
EnvVars env,
TaskListener listener) |
public void onLoad(@NonNull
Run<?,?> build)
onLoad in class ArtifactManagerpublic void archive(FilePath workspace, Launcher launcher, BuildListener listener, Map<String,String> artifacts) throws IOException, InterruptedException
archive in class ArtifactManagerIOExceptionInterruptedExceptionpublic boolean delete()
throws IOException,
InterruptedException
delete in class ArtifactManagerIOExceptionInterruptedExceptionpublic VirtualFile root()
root in class ArtifactManagerpublic void stash(String name, FilePath workspace, Launcher launcher, EnvVars env, TaskListener listener, String includes, String excludes, boolean useDefaultExcludes, boolean allowEmpty) throws IOException, InterruptedException
stash in interface org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManagerIOExceptionInterruptedExceptionpublic void unstash(String name, FilePath workspace, Launcher launcher, EnvVars env, TaskListener listener) throws IOException, InterruptedException
unstash in interface org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManagerIOExceptionInterruptedExceptionpublic void clearAllStashes(TaskListener listener) throws IOException, InterruptedException
clearAllStashes in interface org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManagerIOExceptionInterruptedExceptionpublic void copyAllArtifactsAndStashes(Run<?,?> to, TaskListener listener) throws IOException, InterruptedException
copyAllArtifactsAndStashes in interface org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManagerIOExceptionInterruptedExceptionCopyright © 2016–2019. All rights reserved.