public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static File |
createZipFile(String techStack,
hudson.FilePath workspace,
PrintStream logger)
Zips a folder, stores it in a temp location and returns the object
|
static String |
getFileExpressionPatternString(String technologyStack) |
static boolean |
isNullOrEmpty(List list) |
static boolean |
isNullOrEmpty(String string) |
static int |
tryParseInt(String value) |
public static int tryParseInt(String value)
public static boolean isNullOrEmpty(List list)
public static boolean isNullOrEmpty(String string)
public static String getFileExpressionPatternString(String technologyStack)
public static File createZipFile(String techStack, hudson.FilePath workspace, PrintStream logger) throws IOException
techStack - technology stack of the folder to zipworkspace - location of the files to ziplogger - logger to write status text toIOException - no filesCopyright © 2016–2018. All rights reserved.