Class CodeBuildClientWrapper
- java.lang.Object
-
- io.jenkins.plugins.codebuildcloud.CodeBuildClientWrapper
-
public class CodeBuildClientWrapper extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CodeBuildClientWrapper.CodeBuildStatus
-
Constructor Summary
Constructors Constructor Description CodeBuildClientWrapper(String credentialsId, String region, Jenkins instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkBuildStatus(String buildId, List<CodeBuildClientWrapper.CodeBuildStatus> invalidStatuses)
CodeBuildClientWrapper.CodeBuildStatus
getBuildStatus(String buildId)
Integer
getMaxConcurrentJobs(String jobName)
com.amazonaws.services.codebuild.model.ListProjectsResult
listProjects(com.amazonaws.services.codebuild.model.ListProjectsRequest request)
com.amazonaws.services.codebuild.model.StartBuildResult
startBuild(com.amazonaws.services.codebuild.model.StartBuildRequest req)
void
stopBuild(String buildId)
-
-
-
Method Detail
-
listProjects
public com.amazonaws.services.codebuild.model.ListProjectsResult listProjects(com.amazonaws.services.codebuild.model.ListProjectsRequest request)
-
getBuildStatus
public CodeBuildClientWrapper.CodeBuildStatus getBuildStatus(@NonNull String buildId)
-
checkBuildStatus
public void checkBuildStatus(@NonNull String buildId, List<CodeBuildClientWrapper.CodeBuildStatus> invalidStatuses) throws InvalidObjectException
- Throws:
InvalidObjectException
-
startBuild
public com.amazonaws.services.codebuild.model.StartBuildResult startBuild(com.amazonaws.services.codebuild.model.StartBuildRequest req)
-
stopBuild
public void stopBuild(@NonNull String buildId)
-
-