public class Utils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Utils.ApiAuthenticator |
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkJSONRPCEndpoint(String endpoint) |
static String |
encodeFileToBase64Binary(File file) |
static void |
exportEnvironmentVariable(hudson.model.AbstractBuild<?,?> build,
String name,
String value) |
static String[] |
getCSVStringValue(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener,
String line) |
static String |
getImplementationVersion() |
static Proxy |
getJenkinsProxy(URL url) |
static com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session |
initJSONRPCSession(String endpoint,
String apiToken,
String apiTokenCredentialId) |
static boolean |
isInteger(String value) |
public static boolean isInteger(String value)
public static com.thetransactioncompany.jsonrpc2.client.JSONRPC2Session initJSONRPCSession(String endpoint, String apiToken, String apiTokenCredentialId) throws MalformedURLException
MalformedURLExceptionpublic static boolean checkJSONRPCEndpoint(String endpoint)
public static String encodeFileToBase64Binary(File file) throws IOException
IOExceptionpublic static void exportEnvironmentVariable(hudson.model.AbstractBuild<?,?> build,
String name,
String value)
public static String getImplementationVersion()
public static String[] getCSVStringValue(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener, String line) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException
org.jenkinsci.plugins.tokenmacro.MacroEvaluationExceptionIOExceptionInterruptedExceptionCopyright © 2016. All rights reserved.