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