public class BuildEnvironmentForCreateIssueOnFailure
extends jenkins.tasks.SimpleBuildWrapper
Modifier and Type | Class and Description |
---|---|
static class |
BuildEnvironmentForCreateIssueOnFailure.DescriptorImpl |
jenkins.tasks.SimpleBuildWrapper.Context, jenkins.tasks.SimpleBuildWrapper.Disposer
Constructor and Description |
---|
BuildEnvironmentForCreateIssueOnFailure(String name,
String prefix,
String description,
String type,
String assignee,
String attachment) |
Modifier and Type | Method and Description |
---|---|
String |
getAssignee() |
String |
getDescription() |
BuildEnvironmentForCreateIssueOnFailure.DescriptorImpl |
getDescriptor() |
String |
getName() |
String |
getPrefix() |
String |
getType() |
void |
setUp(jenkins.tasks.SimpleBuildWrapper.Context context,
hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.EnvVars initialEnvironment) |
@DataBoundConstructor public BuildEnvironmentForCreateIssueOnFailure(String name, String prefix, String description, String type, String assignee, String attachment)
name
- Name of the Issueprefix
- To where the item to be created {prefix} Backlog/sprintdescription
- Description of the Sprints Itemtype
- Type of the Sprints Typeassignee
- Assignee of the Sprint Itemattachment
- Attachment for the Sprint Itempublic String getName()
public String getPrefix()
public String getDescription()
public String getType()
public String getAssignee()
public void setUp(jenkins.tasks.SimpleBuildWrapper.Context context, hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.EnvVars initialEnvironment) throws IOException, InterruptedException
setUp
in class jenkins.tasks.SimpleBuildWrapper
context
- BuildWrapper contextbuild
- Current Build Objectworkspace
- File path of the Workspacelauncher
- Responsible for inherit the Global Variablelistener
- Listener Objetc of TaskinitialEnvironment
- Environmental VariablesInterruptedException
- when a thread that is sleeping, waiting, or is occupied is interruptedIOException
- Input/Output errorpublic BuildEnvironmentForCreateIssueOnFailure.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.BuildWrapper>
getDescriptor
in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
Copyright © 2016–2021. All rights reserved.