Package io.jenkins.plugins.checkpoint
Class Utils
- java.lang.Object
-
- io.jenkins.plugins.checkpoint.Utils
-
public class Utils extends Object
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copyFileToWorkspace(FilePath workspace, String origin, String filename)
static String
humanReadableByteCountSI(long bytes)
static Map<String,String>
populateCloudGuardEnvMap(com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials credentials)
-
-
-
Method Detail
-
populateCloudGuardEnvMap
public static Map<String,String> populateCloudGuardEnvMap(com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials credentials)
-
copyFileToWorkspace
public static void copyFileToWorkspace(FilePath workspace, String origin, String filename) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
humanReadableByteCountSI
public static String humanReadableByteCountSI(long bytes)
-
-