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