public class NerrvanaPlugin
extends hudson.tasks.Builder
saveExecutionResults(AbstractBuild, Testrun)
, saveReportAggregated(AbstractBuild, String)
Modifier and Type | Class and Description |
---|---|
static class |
NerrvanaPlugin.DescriptorImpl
Descriptor for
NerrvanaPlugin . |
Modifier and Type | Field and Description |
---|---|
String |
loglevel
Plugin configuration parameter 'logLevel'.
|
String |
settingsXmlString
Plugin configuration parameter 'settingsXmlString'.
|
Constructor and Description |
---|
NerrvanaPlugin(String settingsXmlString,
String loglevel)
Plugin constructor Fields in config.jelly must match the parameter names
in the org.kohsuke.stapler.DataBoundConstructor
|
Modifier and Type | Method and Description |
---|---|
NerrvanaPlugin.DescriptorImpl |
getDescriptor()
Some Jenkins-specific mumbo-jumbo Overridden for better type
safety.
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Main plugin method
|
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
public final String settingsXmlString
Plugin configuration parameter 'settingsXmlString'. This parameter is represented in config.jelly as TEXTAREA
Nerrvana user should generate settings XML in Nerrvana web interface and paste it into the plugin config field "Nerrvana plugin settings"
Parameter is initialized in plugin constructor.public final String loglevel
Plugin configuration parameter 'logLevel'. This parameter is represented in config.jelly as SELECT with two values (NORMAL and TRACE)
Parameter is initialized in plugin constructor@DataBoundConstructor public NerrvanaPlugin(String settingsXmlString, String loglevel)
settingsXmlString
- Plugin settings generated by
Nerrvanaloglevel
- Log level for plugin operationspublic boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
build
- launcher
- listener
- public NerrvanaPlugin.DescriptorImpl getDescriptor()
Some Jenkins-specific mumbo-jumbo
Overridden for better type safety. If your plugin doesn't really define any property on Descriptor, you don't have to do this.getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2004-2013 Deep Shift Labs. All Rights Reserved.