public class TestBuildDetailsBuilder extends Object
Constructor and Description |
---|
TestBuildDetailsBuilder() |
TestBuildDetailsBuilder(TestBuildDetails build) |
public TestBuildDetailsBuilder()
public TestBuildDetailsBuilder(TestBuildDetails build)
public TestBuildDetailsBuilder withProject(@NotNull ProjectDescriptor projectDescriptor)
public TestBuildDetailsBuilder withName(@NotNull String planName)
public TestBuildDetailsBuilder withNoInitialBuild()
public TestBuildDetailsBuilder withManualBuild()
public TestBuildDetailsBuilder withBuilder(@NotNull TestJobDetails.Builder builder)
public TestBuildDetailsBuilder withCommand(@NotNull String command)
public TestBuildDetailsBuilder withWorkingDirectory(String workingDirectory)
public TestBuildDetailsBuilder withNoTests()
public TestBuildDetailsBuilder withJdk(@NotNull String jdk)
public TestBuildDetailsBuilder withMaxConcurrentBuilds(int maxConcurrentBuilds)
public TestBuildDetails build()
public TestJobDetails buildJob()
public TestBuildDetailsBuilder withLinkedRepository(String repositoryName)
public TestBuildDetailsBuilder withNoScm()
public TestBuildDetailsBuilder withGit()
public TestBuildDetailsBuilder withGit(@NotNull GitRepositoryDescriptor repositoryDescriptor)
public TestBuildDetailsBuilder withGit(@NotNull String repositoryUrl)
public TestBuildDetailsBuilder withGit(@NotNull String repositoryUrl, boolean lfs)
public TestBuildDetailsBuilder withRepositoryPasswordAuthentication(@NotNull String user, @NotNull String password)
public TestBuildDetailsBuilder withRepositorySSHKey(@NotNull String sshKeyPath)
public TestBuildDetailsBuilder withGitForCommits()
public TestBuildDetailsBuilder withGitRepositoryBranch(String repositoryBranch)
public TestBuildDetailsBuilder withSvn(@NotNull String svnSubDir)
public TestBuildDetailsBuilder withSvn(Class<?> testClass, @NotNull String svnSubDir)
public TestBuildDetailsBuilder withSvn(@NotNull RepositoryDescriptor repositoryDescriptor, @NotNull String svnSubDir)
public TestBuildDetailsBuilder withSvnBranchDetectionOverride(@NotNull String branchDetectionOverride)
public TestBuildDetailsBuilder withAntTask(@Nullable String workingDirectory)
public TestBuildDetailsBuilder withMavenTask()
public TestBuildDetailsBuilder withMavenTask(@NotNull String command)
public TestBuildDetailsBuilder withMavenTask(@Nullable String workingDirectory, @NotNull String goal)
public TestBuildDetailsBuilder withScriptTask()
public TestBuildDetailsBuilder withScriptTask(@NotNull String scriptBody)
public TestBuildDetailsBuilder disabled()
public TestBuildDetailsBuilder enabled()
public TestBuildDetailsBuilder withNoAdvancedOption()
public TestBuildDetailsBuilder withRepositoryRelativePath(String relativePath)
public TestBuildDetailsBuilder withManualStage()
public TestBuildDetailsBuilder withArtifact(Consumer<TestArtifactDetails.Builder> consumer)
public TestBuildDetailsBuilder withLabels(String... labels)
public TestBuildDetailsBuilder trigger(TestTriggerDetails triggerDetails)
public TestBuildDetailsBuilder cvs(CvsRepositoryDescriptor repositoryDescriptor)
public TestBuildDetailsBuilder withCreatePlanBranchOption(TestBuildDetails.CreatePlanBranchOption createPlanBranchOption)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.