Package com.atlassian.bamboo.testutils
Class TestBuildDetailsBuilder
java.lang.Object
com.atlassian.bamboo.testutils.TestBuildDetailsBuilder
Actually not a real builder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
buildJob()
disabled()
enabled()
trigger
(TestTriggerDetails triggerDetails) withAntTask
(@Nullable String workingDirectory) withArtifact
(Consumer<TestArtifactDetails.Builder> consumer) withBuilder
(TestJobDetails.Builder builder) withCommand
(@NotNull String command) withCreatePlanBranchOption
(TestBuildDetails.CreatePlanBranchOption createPlanBranchOption) withGit()
withGit
(@NotNull GitRepositoryDescriptor repositoryDescriptor) withGitRepositoryBranch
(String repositoryBranch) withLabels
(String... labels) withLinkedRepository
(String repositoryName) withMaven3Task
(@NotNull String command) withMavenTask
(@NotNull String command) withMavenTask
(@Nullable String workingDirectory, @NotNull String goal) withMaxConcurrentBuilds
(int maxConcurrentBuilds) withProject
(@NotNull ProjectDescriptor projectDescriptor) withRepositoryPasswordAuthentication
(@NotNull String user, @NotNull String password) withRepositoryRelativePath
(String relativePath) withRepositorySSHKey
(@NotNull String sshKeyPath) withScriptTask
(@NotNull String scriptBody) withSvn
(@NotNull RepositoryDescriptor repositoryDescriptor, @NotNull String svnSubDir) withSvnBranchDetectionOverride
(@NotNull String branchDetectionOverride) withWorkingDirectory
(String workingDirectory)
-
Field Details
-
DEFAULT_SCRIPT_COMMAND
- See Also:
-
-
Constructor Details
-
TestBuildDetailsBuilder
public TestBuildDetailsBuilder() -
TestBuildDetailsBuilder
-
-
Method Details
-
withProject
-
withName
-
withNoInitialBuild
-
withManualBuild
-
withBuilder
-
withCommand
-
withWorkingDirectory
-
withNoTests
-
withJdk
-
withMaxConcurrentBuilds
-
build
-
buildJob
-
withLinkedRepository
-
withNoScm
-
withGit
-
withGit
public TestBuildDetailsBuilder withGit(@NotNull @NotNull GitRepositoryDescriptor repositoryDescriptor) -
withGit
-
withGit
-
withRepositoryPasswordAuthentication
public TestBuildDetailsBuilder withRepositoryPasswordAuthentication(@NotNull @NotNull String user, @NotNull @NotNull String password) -
withRepositorySSHKey
-
withGitForCommits
-
withGitRepositoryBranch
-
withSvn
-
withSvn
-
withSvn
public TestBuildDetailsBuilder withSvn(@NotNull @NotNull RepositoryDescriptor repositoryDescriptor, @NotNull @NotNull String svnSubDir) -
withSvnBranchDetectionOverride
public TestBuildDetailsBuilder withSvnBranchDetectionOverride(@NotNull @NotNull String branchDetectionOverride) -
withAntTask
-
withMavenTask
-
withMavenTask
-
withMaven3Task
-
withMavenTask
public TestBuildDetailsBuilder withMavenTask(@Nullable @Nullable String workingDirectory, @NotNull @NotNull String goal) -
withScriptTask
-
withScriptTask
-
disabled
-
enabled
-
withNoAdvancedOption
-
withRepositoryRelativePath
-
withManualStage
-
withArtifact
-
withLabels
-
trigger
-
withCreatePlanBranchOption
public TestBuildDetailsBuilder withCreatePlanBranchOption(TestBuildDetails.CreatePlanBranchOption createPlanBranchOption)
-