public class PangolinPublisher
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
PangolinPublisher.DescriptorImpl
Descriptor for pangolin plugin.
|
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
PangolinPublisher(List<PangolinConfiguration> configs,
String testRailProject,
String testRailUserName,
String testRailPassword)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<PangolinConfiguration> |
getConfigs()
Gets the configs.
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getTestRailPassword()
Gets the test rail password.
|
String |
getTestRailProject()
Gets the test rail project.
|
String |
getTestRailUserName()
Gets the test rail user name.
|
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setTestRailPassword(String testRailPassword)
Sets the test rail password.
|
void |
setTestRailProject(String testRailProject)
Sets the test rail project.
|
void |
setTestRailUserName(String testRailUserName)
Sets the test rail user name.
|
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public PangolinPublisher(List<PangolinConfiguration> configs, String testRailProject, String testRailUserName, String testRailPassword)
configs
- Configurations which are set for current job.testRailProject
- the test rail projecttestRailUserName
- the test rail user nametestRailPassword
- the test rail passwordpublic List<PangolinConfiguration> getConfigs()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public void perform(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
public String getTestRailProject()
public void setTestRailProject(String testRailProject)
testRailProject
- the new test rail projectpublic String getTestRailUserName()
@DataBoundSetter public void setTestRailUserName(String testRailUserName)
testRailUserName
- the new test rail user namepublic String getTestRailPassword()
@DataBoundSetter public void setTestRailPassword(String testRailPassword)
testRailPassword
- the new test rail passwordCopyright © 2018–2022 Agiletestware. All rights reserved.