Modifier and Type | Method and Description |
---|---|
void |
RemoteBuildConfiguration.abortRemoteTask(RemoteJenkinsServer remoteServer,
Handle handle,
BuildContext context) |
void |
RemoteBuildConfiguration.abortRemoteTask(RemoteJenkinsServer remoteServer,
Handle handle,
BuildContext context) |
ConnectionResponse |
RemoteBuildConfiguration.doGet(String urlString,
BuildContext context,
RemoteBuildStatus remoteBuildStatus)
Orchestrates all calls to the remote server.
|
ConnectionResponse |
RemoteBuildConfiguration.doGet(String urlString,
BuildContext context,
RemoteBuildStatus remoteBuildStatus)
Orchestrates all calls to the remote server.
|
Map<String,String> |
RemoteBuildConfiguration.getParameterMap(BuildContext context) |
Map<String,String> |
RemoteBuildConfiguration.getParameterMap(BuildContext context) |
Handle |
RemoteBuildConfiguration.performTriggerAndGetQueueId(BuildContext context)
Triggers the remote job, identifies the queue ID and, returns a
Handle to this remote execution. |
Handle |
RemoteBuildConfiguration.performTriggerAndGetQueueId(BuildContext context)
Triggers the remote job, identifies the queue ID and, returns a
Handle to this remote execution. |
void |
RemoteBuildConfiguration.performWaitForBuild(BuildContext context,
Handle handle)
Checks the remote build status and, waits for completion if
blockBuildUntilComplete is set. |
void |
RemoteBuildConfiguration.performWaitForBuild(BuildContext context,
Handle handle)
Checks the remote build status and, waits for completion if
blockBuildUntilComplete is set. |
RemoteBuildInfo |
RemoteBuildConfiguration.updateBuildInfo(RemoteBuildInfo buildInfo,
BuildContext context) |
RemoteBuildInfo |
RemoteBuildConfiguration.updateBuildInfo(RemoteBuildInfo buildInfo,
BuildContext context) |
Modifier and Type | Method and Description |
---|---|
abstract void |
Auth2.setAuthorizationHeader(URLConnection connection,
BuildContext context)
Depending on the purpose the Auth2 implementation has to override the
Authorization header of the connection appropriately. |
void |
BearerTokenAuth.setAuthorizationHeader(URLConnection connection,
BuildContext context) |
void |
CredentialsAuth.setAuthorizationHeader(URLConnection connection,
BuildContext context) |
void |
NoneAuth.setAuthorizationHeader(URLConnection connection,
BuildContext context) |
void |
NullAuth.setAuthorizationHeader(URLConnection connection,
BuildContext context) |
void |
TokenAuth.setAuthorizationHeader(URLConnection connection,
BuildContext context) |
void |
TokenAuth.setAuthorizationHeader(URLConnection connection,
BuildContext context) |
void |
NullAuth.setAuthorizationHeader(URLConnection connection,
BuildContext context) |
void |
NoneAuth.setAuthorizationHeader(URLConnection connection,
BuildContext context) |
void |
CredentialsAuth.setAuthorizationHeader(URLConnection connection,
BuildContext context) |
void |
BearerTokenAuth.setAuthorizationHeader(URLConnection connection,
BuildContext context) |
abstract void |
Auth2.setAuthorizationHeader(URLConnection connection,
BuildContext context)
Depending on the purpose the Auth2 implementation has to override the
Authorization header of the connection appropriately. |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
FileParameters.getParametersMap(BuildContext context) |
abstract Map<String,String> |
JobParameters.getParametersMap(BuildContext context) |
Map<String,String> |
MapParameters.getParametersMap(BuildContext context) |
Map<String,String> |
StringParameters.getParametersMap(BuildContext context) |
Map<String,String> |
StringParameters.getParametersMap(BuildContext context) |
Map<String,String> |
MapParameters.getParametersMap(BuildContext context) |
abstract Map<String,String> |
JobParameters.getParametersMap(BuildContext context) |
Map<String,String> |
FileParameters.getParametersMap(BuildContext context) |
Modifier and Type | Method and Description |
---|---|
void |
QueueItemData.update(BuildContext context,
net.sf.json.JSONObject queueResponse)
Updates the queue item data with a queue response.
|
void |
QueueItemData.update(BuildContext context,
net.sf.json.JSONObject queueResponse)
Updates the queue item data with a queue response.
|
Modifier and Type | Method and Description |
---|---|
static String |
HttpHelper.buildTriggerUrl(String jobNameOrUrl,
String securityToken,
boolean isRemoteJobParameterized,
BuildContext context)
Build the proper URL to trigger the remote build
All passed in string have already had their tokens replaced with real values.
|
static String |
HttpHelper.buildTriggerUrl(String jobNameOrUrl,
String securityToken,
boolean isRemoteJobParameterized,
BuildContext context)
Build the proper URL to trigger the remote build
All passed in string have already had their tokens replaced with real values.
|
static ConnectionResponse |
RestUtils.cancelQueueItem(String rootUrl,
Handle handle,
BuildContext context,
RemoteBuildConfiguration remoteConfig) |
static ConnectionResponse |
RestUtils.cancelQueueItem(String rootUrl,
Handle handle,
BuildContext context,
RemoteBuildConfiguration remoteConfig) |
static String |
Base64Utils.generateAuthorizationHeaderValue(String authType,
String user,
String password,
BuildContext context,
boolean applyMacro)
Creates the value for an
Authorization header consisting of: "authType base64Encoded(user:password)" e.g. |
static String |
Base64Utils.generateAuthorizationHeaderValue(String authType,
String user,
String password,
BuildContext context,
boolean applyMacro)
Creates the value for an
Authorization header consisting of: "authType base64Encoded(user:password)" e.g. |
static ConnectionResponse |
HttpHelper.get(String urlString,
BuildContext context,
int readTimeout,
int pollInterval,
int retryLimit,
Auth2 overrideAuth) |
static ConnectionResponse |
HttpHelper.get(String urlString,
BuildContext context,
int readTimeout,
int pollInterval,
int retryLimit,
Auth2 overrideAuth) |
static String |
HttpHelper.getRawResp(String urlString,
String requestType,
BuildContext context,
Collection<String> postParams,
int readTimeout,
int numberOfAttempts,
int pollInterval,
int retryLimit,
Auth2 overrideAuth) |
static String |
HttpHelper.getRawResp(String urlString,
String requestType,
BuildContext context,
Collection<String> postParams,
int readTimeout,
int numberOfAttempts,
int pollInterval,
int retryLimit,
Auth2 overrideAuth) |
static ConnectionResponse |
HttpHelper.post(String urlString,
BuildContext context,
Map<String,String> params,
int readTimeout,
int pollInterval,
int retryLimit,
Auth2 overrideAuth,
boolean isCrubmCacheEnabled) |
static ConnectionResponse |
HttpHelper.post(String urlString,
BuildContext context,
Map<String,String> params,
int readTimeout,
int pollInterval,
int retryLimit,
Auth2 overrideAuth,
boolean isCrubmCacheEnabled) |
static ConnectionResponse |
RestUtils.stopRemoteJob(Handle handle,
BuildContext context,
RemoteBuildConfiguration remoteConfig) |
static ConnectionResponse |
RestUtils.stopRemoteJob(Handle handle,
BuildContext context,
RemoteBuildConfiguration remoteConfig) |
static ConnectionResponse |
HttpHelper.tryGet(String urlString,
BuildContext context,
int readTimeout,
int pollInterval,
int retryLimit,
Auth2 overrideAuth,
Semaphore lock) |
static ConnectionResponse |
HttpHelper.tryGet(String urlString,
BuildContext context,
int readTimeout,
int pollInterval,
int retryLimit,
Auth2 overrideAuth,
Semaphore lock) |
static String |
HttpHelper.tryGetRawResp(String urlString,
BuildContext context,
int readTimeout,
int pollInterval,
int retryLimit,
Auth2 overrideAuth,
Semaphore lock) |
static String |
HttpHelper.tryGetRawResp(String urlString,
BuildContext context,
int readTimeout,
int pollInterval,
int retryLimit,
Auth2 overrideAuth,
Semaphore lock) |
static ConnectionResponse |
HttpHelper.tryPost(String urlString,
BuildContext context,
Map<String,String> params,
int readTimeout,
int pollInterval,
int retryLimit,
Auth2 overrideAuth,
Semaphore lock,
boolean isCrubmCacheEnabled) |
static ConnectionResponse |
HttpHelper.tryPost(String urlString,
BuildContext context,
Map<String,String> params,
int readTimeout,
int pollInterval,
int retryLimit,
Auth2 overrideAuth,
Semaphore lock,
boolean isCrubmCacheEnabled) |
Copyright © 2016–2023. All rights reserved.