public class JenkinsConfiguration extends Object implements hudson.model.Describable<JenkinsConfiguration>
| Modifier and Type | Class and Description |
|---|---|
static class |
JenkinsConfiguration.DescriptorImpl
Inline class for jenkins. so it is an repeatable object in conf.jelly
|
| Constructor and Description |
|---|
JenkinsConfiguration(File tptFile,
String configuration,
File testdataDir,
File reportDir,
boolean enableTest)
the execution configuration is used by tpt to determine which file and which arguments is used.
|
| Modifier and Type | Method and Description |
|---|---|
static File |
getAbsolutePath(File workspaceDir,
File path)
Builds a absolute path from the workspace directory and the given path.
|
String |
getClassname() |
String |
getConfiguration() |
String |
getConfigurationWithUnderscore() |
hudson.model.Descriptor<JenkinsConfiguration> |
getDescriptor() |
File |
getReportDir() |
String |
getReportName() |
File |
getTestdataDir() |
File |
getTptFile() |
String |
getTptFileName() |
boolean |
isEnableTest() |
@DataBoundConstructor public JenkinsConfiguration(File tptFile, String configuration, File testdataDir, File reportDir, boolean enableTest)
tptFile - - path to an executable tpt file *.tptconfiguration - - arguments and configuration (configuration in double quotes)testdataDir - Testdata directory, if empty, path from the configuration will used.reportDir - Report directory, if empty, path from the configuration will used.enableTest - - true if you want to skip this configurationpublic boolean isEnableTest()
public File getTptFile()
public String getTptFileName()
public String getReportName()
public String getConfigurationWithUnderscore()
" " -> "_"public String getClassname()
public String getConfiguration()
public hudson.model.Descriptor<JenkinsConfiguration> getDescriptor()
getDescriptor in interface hudson.model.Describable<JenkinsConfiguration>public File getReportDir()
public File getTestdataDir()
public static File getAbsolutePath(File workspaceDir, File path)
null, the current working directory will returned - hopefully it
is inside the workspace.null, the path will returned.null, the workspace will returned.workspaceDir - Current workspace for the build.path - Relative or absolute path.Copyright © 2004-2015 PikeTec GmbH. All Rights Reserved.