@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class AzureArtifactManager
extends jenkins.model.ArtifactManager
implements org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManager
| Constructor and Description |
|---|
AzureArtifactManager(hudson.model.Run<?,?> build,
AzureArtifactConfig config) |
| 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<?,?> aBuild) |
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 AzureArtifactManager(hudson.model.Run<?,?> build,
AzureArtifactConfig config)
public void onLoad(hudson.model.Run<?,?> aBuild)
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(@Nonnull String name, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.EnvVars env, @Nonnull hudson.model.TaskListener listener, @CheckForNull String includes, @CheckForNull String excludes, boolean useDefaultExcludes, boolean allowEmpty) throws IOException, InterruptedException
stash in interface org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManagerIOExceptionInterruptedExceptionpublic void unstash(@Nonnull String name, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.EnvVars env, @Nonnull hudson.model.TaskListener listener) throws IOException, InterruptedException
unstash in interface org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManagerIOExceptionInterruptedExceptionpublic void clearAllStashes(@Nonnull hudson.model.TaskListener listener) throws IOException, InterruptedException
clearAllStashes in interface org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManagerIOExceptionInterruptedExceptionpublic void copyAllArtifactsAndStashes(@Nonnull hudson.model.Run<?,?> to, @Nonnull hudson.model.TaskListener listener) throws IOException
copyAllArtifactsAndStashes in interface org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManagerIOExceptionCopyright © 2016–2019. All rights reserved.