public class TroubleshootingUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HEAP_DUMP_FILE_NAME |
static String |
HEAP_DUMP_ONLY_LIVE_FILE_NAME |
static String |
OS_PROCESSES_LOG_NAME |
static String |
PLUGINS_COPIED_FOR_TROUBLESHOOTING_FOLDER |
public static final String PLUGINS_COPIED_FOR_TROUBLESHOOTING_FOLDER
public static final String HEAP_DUMP_FILE_NAME
public static final String HEAP_DUMP_ONLY_LIVE_FILE_NAME
public static final String OS_PROCESSES_LOG_NAME
public static Path getPathOfFileContaining(URL pluginJsonUrl, String substring)
public static Path getPathOfFileContaining(Path pluginJsonUrl, String substring)
public static void copyRepoContentsToAuxJenkinsFolder()
throws IOException
IOExceptionpublic static void copyFileToAuxJenkinsFolder(Path fileToCopy) throws IOException
IOExceptionpublic static void copyPluginToAuxJenkinsFolderForTroubleshooting(Path pluginJsonUrl) throws IOException
IOExceptionpublic static void copyPluginToAuxJenkinsFolderForTroubleshooting(URL pluginJsonUrl) throws IOException
IOExceptionpublic static void copyOsRunningProcessesToAuxJenkinsFolder(URL pluginJsonUrl) throws IOException
IOExceptionpublic static Path getJenkinsTroubleshootingFolderPath(Path pluginJsonUrl) throws IOException
IOExceptionpublic static void generateHeapDumpInAuxJenkinsFolder(Path pluginJsonUrl) throws IOException
IOExceptionpublic static void generateHeapDumpInAuxJenkinsFolder(URL pluginJsonUrl) throws IOException
IOExceptionpublic static void dumpHeap(String filePath, boolean live) throws IOException
IOExceptionpublic static List<String> listEntriesInJar(File jarPath) throws IOException
IOExceptionpublic static String getOsNameFamily()
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.