Package | Description |
---|---|
com.atlassian.bamboo.task |
Modifier and Type | Method and Description |
---|---|
TaskResultBuilder |
TaskResultBuilder.checkInterceptorMatches(ContentMatchingInterceptor interceptor,
int maximumAge) |
TaskResultBuilder |
TaskResultBuilder.checkInterceptorNotMatches(ContentMatchingInterceptor interceptor,
int maximumAge) |
TaskResultBuilder |
TaskResultBuilder.checkReturnCode(com.atlassian.utils.process.ExternalProcess externalProcess)
Checks that the return code of the
ExternalProcess was zero
Will only check return codes if the build state has not been set to Failed for some other reason. |
TaskResultBuilder |
TaskResultBuilder.checkReturnCode(com.atlassian.utils.process.ExternalProcess externalProcess,
int expectedReturnCode)
Checks that the return code of the
ExternalProcess was of the expected type. |
TaskResultBuilder |
TaskResultBuilder.checkTestFailures()
Checks whether any test failures have been recorded against the buildResult and updates the state accordingly
Will only check tests if the build state has not been set to Failed for some other reason.
|
static TaskResultBuilder |
TaskResultBuilder.create(TaskContext taskContext)
Deprecated.
since 5.0 use
newBuilder(CommonTaskContext) |
TaskResultBuilder |
TaskResultBuilder.failed()
Sets the Task Result Status as
TaskState.FAILED |
TaskResultBuilder |
TaskResultBuilder.failedWithError()
Sets the Task Result Status as
TaskState.ERROR |
static TaskResultBuilder |
TaskResultBuilder.newBuilder(CommonTaskContext taskContext)
Creates a new TaskResultBuilder for a
CommonTaskContext |
TaskResultBuilder |
TaskResultBuilder.setState(TaskState taskState) |
TaskResultBuilder |
TaskResultBuilder.success()
Sets the Task Result Status as
TaskState.SUCCESS |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.