public class RanorexRunnerBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
RanorexRunnerBuilder.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
RanorexRunnerBuilder()
When this builder is created in the project configuration step, the builder
object will be created
|
RanorexRunnerBuilder(String rxTestSuiteFilePath,
String rxRunConfiguration,
String rxReportDirectory,
String rxReportFile,
String rxReportExtension,
Boolean rxJUnitReport,
Boolean rxZippedReport,
String rxZippedReportDirectory,
String rxZippedReportFile,
Boolean rxTestRail,
String rxTestRailUser,
String rxTestRailPassword,
String rxTestRailRID,
String rxTestRailRunName,
String rxGlobalParameter,
String cmdLineArgs)
Deprecated.
|
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public RanorexRunnerBuilder()
@Deprecated public RanorexRunnerBuilder(String rxTestSuiteFilePath, String rxRunConfiguration, String rxReportDirectory, String rxReportFile, String rxReportExtension, Boolean rxJUnitReport, Boolean rxZippedReport, String rxZippedReportDirectory, String rxZippedReportFile, Boolean rxTestRail, String rxTestRailUser, String rxTestRailPassword, String rxTestRailRID, String rxTestRailRunName, String rxGlobalParameter, String cmdLineArgs)
rxTestSuiteFilePath
- The name/location of the Ranorex Test Suite /
Ranorex Test Exe FilerxRunConfiguration
- The Ranorex Run configuration which will be
executedrxReportDirectory
- The directory where the Ranorex Report should
be savedrxReportFile
- The name of the Ranorex ReportrxReportExtension
- The extension of your Ranorex ReportrxJUnitReport
- If true, a JUnit compatible Report will be
savedrxZippedReport
- If true, the report will also be saved as
RXZLOGrxZippedReportDirectory
- The directory where the Ranorex Zipped Report
should be savedrxZippedReportFile
- The name of the zipped Ranorex ReportrxTestRail
- True when test rail is usedrxTestRailUser
- Username for connecting to TestRailrxTestRailPassword
- Password for connecting to TestRailrxTestRailRID
- TestRail RIDrxTestRailRunName
- TestRail run namerxGlobalParameter
- Global test suite parameterscmdLineArgs
- Additional CMD line arguments@CheckForNull public String getRxTestSuiteFilePath()
@CheckForNull public String getRxRunConfiguration()
@CheckForNull public String getRxReportDirectory()
@CheckForNull public String getRxReportFile()
@CheckForNull public String getRxReportExtension()
@CheckForNull public Boolean getRxJUnitReport()
@CheckForNull public Boolean getRxZippedReport()
@CheckForNull public String getRxZippedReportDirectory()
@CheckForNull public String getRxZippedReportFile()
@CheckForNull public Boolean getRxTestRail()
@CheckForNull public String getRxTestRailUser()
@CheckForNull public String getRxTestRailPassword()
@CheckForNull public String getRxTestRailRID()
@CheckForNull public String getRxTestRailRunName()
@CheckForNull public String getRxGlobalParameter()
@CheckForNull public String getCmdLineArgs()
@DataBoundSetter public void setRxTestSuiteFilePath(@CheckForNull String rxTestSuiteFilePath)
@DataBoundSetter public void setRxRunConfiguration(@CheckForNull String rxRunConfiguration)
@DataBoundSetter public void setRxReportDirectory(@CheckForNull String rxReportDirectory)
@DataBoundSetter public void setRxReportFile(@CheckForNull String rxReportFile)
@DataBoundSetter public void setRxReportExtension(@CheckForNull String rxReportExtension)
@DataBoundSetter public void setRxJUnitReport(@CheckForNull Boolean rxJUnitReport)
@DataBoundSetter public void setRxZippedReport(Boolean rxZippedReport)
@DataBoundSetter public void setRxZippedReportDirectory(@CheckForNull String rxZippedReportDirectory)
@DataBoundSetter public void setRxZippedReportFile(@CheckForNull String rxZippedReportFile)
@DataBoundSetter public void setRxTestRail(Boolean rxTestRail)
@DataBoundSetter public void setRxTestRailUser(@CheckForNull String rxTestRailUser)
@DataBoundSetter public void setRxTestRailPassword(@CheckForNull String rxTestRailPassword)
@DataBoundSetter public void setRxTestRailRID(@CheckForNull String rxTestRailRID)
@DataBoundSetter public void setRxTestRailRunName(@CheckForNull String rxTestRailRunName)
@DataBoundSetter public void setRxGlobalParameter(@CheckForNull String rxGlobalParameter)
@DataBoundSetter public void setCmdLineArgs(@CheckForNull String CmdLineArgs)
public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
run
- Run instanceworkspace
- Current workspacelauncher
- Starts a processlistener
- Receives events that happen during a buildIOException
- - If the build is interrupted by the user (in an
attempt to abort the build.) Normally the
BuildStep implementations may simply forward the
exception it got from its lower-level functions.InterruptedException
- - If the implementation wants to abort the
processing when an IOException happens, it can
simply propagate the exception to the caller.
This will cause the build to fail, with the
default error message. Implementations are
encouraged to catch IOException on its own to
provide a better error message, if it can do so,
so that users have better understanding on why
it failed.public RanorexRunnerBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2016–2019 Ranorex. All rights reserved.