Package | Description |
---|---|
com.atlassian.bamboo.task |
Modifier and Type | Method and Description |
---|---|
TaskResultBuilder |
TaskResultBuilder.checkInterceptorMatches(@NotNull ContentMatchingInterceptor interceptor,
int maximumAge) |
TaskResultBuilder |
TaskResultBuilder.checkInterceptorNotMatches(@NotNull ContentMatchingInterceptor interceptor,
int maximumAge) |
TaskResultBuilder |
TaskResultBuilder.checkReturnCode(@NotNull 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(@NotNull 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(@NotNull 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(@NotNull CommonTaskContext taskContext)
Creates a new TaskResultBuilder for a
CommonTaskContext |
TaskResultBuilder |
TaskResultBuilder.setState(TaskState taskState) |
TaskResultBuilder |
TaskResultBuilder.stopJobExecutionAfterTask()
stop job execution after this task result processing
|
TaskResultBuilder |
TaskResultBuilder.success()
Sets the Task Result Status as
TaskState.SUCCESS |
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences