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(String tptFile,
String configuration,
String testdataDir,
String reportDir,
boolean enableTest,
long timeout,
String testSet)
the execution configuration is used by tpt to determine which file and which arguments is used.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConfiguration() |
String |
getConfigurationWithUnderscore() |
hudson.model.Descriptor<JenkinsConfiguration> |
getDescriptor() |
String |
getReportDir() |
String |
getTestdataDir() |
String |
getTestSet() |
long |
getTimeout() |
String |
getTptFile() |
boolean |
isEnableTest() |
protected Object |
readResolve() |
JenkinsConfiguration |
replaceAndNormalize(hudson.EnvVars environment) |
@DataBoundConstructor public JenkinsConfiguration(String tptFile, String configuration, String testdataDir, String reportDir, boolean enableTest, long timeout, String testSet)
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 configurationtimeout - how long the execution of this test run is allwoed to take at maxtestSet - the name of test set that should be used, null or empty if the test set
defined in the file should be used.protected Object readResolve()
public boolean isEnableTest()
JenkinsConfiguration should run at allpublic long getTimeout()
public String getTptFile()
public String getTestSet()
null or empty if the test set
defined in the file should be used.public String getConfigurationWithUnderscore()
" " -> "_"public String getConfiguration()
public hudson.model.Descriptor<JenkinsConfiguration> getDescriptor()
getDescriptor in interface hudson.model.Describable<JenkinsConfiguration>public String getReportDir()
public String getTestdataDir()
public JenkinsConfiguration replaceAndNormalize(hudson.EnvVars environment)
environment - The map of environment variables and their valuesJenkinsConfiguration where all "${}"-Variables are replaced by their value if
available in environment.Copyright © 2016–2018 PikeTec GmbH. All rights reserved.