Class ZipSourceCallable
- All Implemented Interfaces:
FilePath.FileCallable<String>,Serializable,ControllerToAgentFileCallable<String>,org.jenkinsci.remoting.RoleSensitive
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionZipSourceCallable(FilePath workspace) ZipSourceCallable(FilePath workspace, String includes, String excludes) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringtrimPrefix(String path, String prefixToTrim) Deprecated.static voidzipSource(FilePath workspace, String directory, ZipOutputStream out, String prefixToTrim) Deprecated.protected voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jenkins.agents.ControllerToAgentFileCallable
checkRoles
-
Field Details
-
zipSourceError
- See Also:
-
-
Constructor Details
-
ZipSourceCallable
-
ZipSourceCallable
-
-
Method Details
-
invoke
- Throws:
IOException
-
zipSourceWithArchiver
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) protected void zipSourceWithArchiver(OutputStream out) throws software.amazon.awssdk.services.codebuild.model.InvalidInputException, IOException, InterruptedException - Throws:
software.amazon.awssdk.services.codebuild.model.InvalidInputExceptionIOExceptionInterruptedException
-
zipSource
@Deprecated public static void zipSource(FilePath workspace, String directory, ZipOutputStream out, String prefixToTrim) throws software.amazon.awssdk.services.codebuild.model.InvalidInputException, IOException, InterruptedException Deprecated.- Throws:
software.amazon.awssdk.services.codebuild.model.InvalidInputExceptionIOExceptionInterruptedException
-
trimPrefix
Deprecated.
-