public class TestJobDetails extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestJobDetails.Builder |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ARTIFACT_COPY_PATTERN |
static String |
DEFAULT_ARTIFACT_NAME |
String |
environmentVariables |
String |
jdk |
boolean |
testsEnabled |
String |
workingDirectory |
Constructor and Description |
---|
TestJobDetails(TestBuildDetails plan,
String jobKey,
String jobName) |
public static final String DEFAULT_ARTIFACT_NAME
public static final String DEFAULT_ARTIFACT_COPY_PATTERN
public String workingDirectory
public boolean testsEnabled
public String jdk
public String environmentVariables
public TestJobDetails(TestBuildDetails plan, String jobKey, String jobName)
public String getFullName()
public String getName()
public void setName(String name)
public TestJobDetails.Builder getBuilder()
public void setBuilder(TestJobDetails.Builder builder)
public String getJdk()
public String getCommand()
public void setCommand(String command)
public PlanKey getKey()
public String getEnvironmentVariables()
public boolean isTestsEnabled()
public void setTestsEnabled(boolean testsEnabled)
public int getTestsPassed()
public int getTestsFailed()
public int getTestQuantity()
public Collection<TestClassDescriptor> getTestClasses()
public void setTestClasses(Collection<TestClassDescriptor> testClasses)
public boolean isCleanCheckout()
public void setCleanCheckout(boolean cleanCheckout)
public boolean isArtifactsEnabled()
public String getJobKey()
public void setJobKey(String jobKey)
@NotNull public String getWorkingDirectory()
public void setWorkingDirectory(String moduleSubdirectory)
public void setJdk(String jdk)
public void setEnvironmentVariables(String environmentVariables)
public void setPlan(TestBuildDetails plan)
public List<TestArtifactDetails> getProducedArtifacts()
public TestJobDetails addArtifactDefinition(Consumer<TestArtifactDetails.Builder> consumer)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.