withSuccessfulDeployment method

DeployAttemptBuilder withSuccessfulDeployment()

Implementation

DeployAttemptBuilder withSuccessfulDeployment() {
  _stages = [
    DeployAttemptStageBuilder()
        .withUploadStageSuccess()
        .withAttemptId(_attemptId)
        .build(),
    DeployAttemptStageBuilder()
        .withBuildStageSuccess()
        .withAttemptId(_attemptId)
        .build(),
    DeployAttemptStageBuilder()
        .withDeployStageSuccess()
        .withAttemptId(_attemptId)
        .build(),
  ];
  return this;
}