Class AzureArtifactManager
java.lang.Object
jenkins.model.ArtifactManager
com.microsoft.jenkins.artifactmanager.AzureArtifactManager
- All Implemented Interfaces:
org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManager
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class AzureArtifactManager
extends ArtifactManager
implements org.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
archive
(FilePath workspace, Launcher launcher, BuildListener listener, Map<String, String> artifacts) void
clearAllStashes
(TaskListener listener) void
copyAllArtifactsAndStashes
(Run<?, ?> to, TaskListener listener) boolean
delete()
void
root()
void
stash
(String name, FilePath workspace, Launcher launcher, EnvVars env, TaskListener listener, String includes, String excludes, boolean useDefaultExcludes, boolean allowEmpty) void
-
Constructor Details
-
AzureArtifactManager
-
-
Method Details
-
onLoad
- Specified by:
onLoad
in classArtifactManager
-
archive
public void archive(FilePath workspace, Launcher launcher, BuildListener listener, Map<String, String> artifacts) throws IOException, InterruptedException- Specified by:
archive
in classArtifactManager
- Throws:
IOException
InterruptedException
-
delete
- Specified by:
delete
in classArtifactManager
- Throws:
IOException
InterruptedException
-
root
- Specified by:
root
in classArtifactManager
-
stash
public 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 - Specified by:
stash
in interfaceorg.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManager
- Throws:
IOException
InterruptedException
-
unstash
public void unstash(@NonNull String name, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull EnvVars env, @NonNull TaskListener listener) throws IOException, InterruptedException - Specified by:
unstash
in interfaceorg.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManager
- Throws:
IOException
InterruptedException
-
clearAllStashes
public void clearAllStashes(@NonNull TaskListener listener) throws IOException, InterruptedException - Specified by:
clearAllStashes
in interfaceorg.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManager
- Throws:
IOException
InterruptedException
-
copyAllArtifactsAndStashes
public void copyAllArtifactsAndStashes(@NonNull Run<?, ?> to, @NonNull TaskListener listener) throws IOException- Specified by:
copyAllArtifactsAndStashes
in interfaceorg.jenkinsci.plugins.workflow.flow.StashManager.StashAwareArtifactManager
- Throws:
IOException
-