public class ServiceHelper extends Object
| Constructor and Description |
|---|
ServiceHelper() |
| Modifier and Type | Method and Description |
|---|---|
static io.artifactz.client.ServiceClient |
getClient(String token) |
static io.artifactz.client.ServiceClient |
getClient(TaskListener taskListener,
String token) |
static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials |
getProxyCredentials() |
static org.apache.http.HttpHost |
getProxyHost() |
static void |
interruptExecution(Run<?,?> run,
TaskListener taskListener,
String message) |
public static io.artifactz.client.ServiceClient getClient(String token) throws io.artifactz.client.exception.ClientException
io.artifactz.client.exception.ClientExceptionpublic static void interruptExecution(@Nonnull Run<?,?> run, @Nonnull TaskListener taskListener, String message)
public static io.artifactz.client.ServiceClient getClient(TaskListener taskListener, String token) throws io.artifactz.client.exception.ClientException
io.artifactz.client.exception.ClientExceptionpublic static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials getProxyCredentials()
public static org.apache.http.HttpHost getProxyHost()
throws MalformedURLException
MalformedURLExceptionCopyright © 2016–2022. All rights reserved.