public class XrayExportBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
XrayExportBuilderCompatibilityDelegate
Modifier and Type | Class and Description |
---|---|
static class |
XrayExportBuilder.Descriptor |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
XrayExportBuilder(String serverInstance,
String issues,
String filter,
String filePath,
String credentialId)
Constructor used in pipelines projects
"Anyway code run from Pipeline should take any configuration values as literal strings
and make no attempt to perform variable substitution"
|
Modifier and Type | Method and Description |
---|---|
String |
getCredentialId() |
Map<String,String> |
getFields() |
String |
getFilePath() |
String |
getFilter() |
String |
getIssues() |
String |
getServerInstance() |
XrayInstance |
getXrayInstance() |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setCredentialId(String credentialId) |
void |
setFields(Map<String,String> fields) |
void |
setFilePath(String filePath) |
void |
setFilter(String filter) |
void |
setIssues(String issues) |
void |
setServerInstance(String serverInstance) |
void |
setXrayInstance(XrayInstance xrayInstance) |
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public XrayExportBuilder(String serverInstance, String issues, String filter, String filePath, String credentialId)
serverInstance
- the server configuration idissues
- the issues to exportfilter
- the saved filter idfilePath
- the file path to exportpublic void perform(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException
perform
in interface jenkins.tasks.SimpleBuildStep
IOException
public String getServerInstance()
public void setServerInstance(String serverInstance)
public String getIssues()
public void setIssues(String issues)
public String getFilter()
public void setFilter(String filter)
public String getFilePath()
public void setFilePath(String filePath)
public String getCredentialId()
public void setCredentialId(String credentialId)
public XrayInstance getXrayInstance()
@DataBoundSetter public void setXrayInstance(XrayInstance xrayInstance)
Copyright © 2016–2022. All rights reserved.