public class CodeCoverageBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
CodeCoverageBuilder.CodeCoverageDescriptorImpl
DescriptorImpl is used to create instances of
CodeCoverageBuilder . |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
CodeCoverageBuilder(String connectionId,
String credentialsId,
String analysisPropertiesPath,
String analysisProperties)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAnalysisProperties()
Gets the value of the 'Analysis properties'.
|
String |
getAnalysisPropertiesPath()
Gets the value of the 'Path to analysis properties'.
|
String |
getConnectionId()
Gets the unique identifier of the 'Host connection'.
|
String |
getCredentialsId()
Gets the value of the 'Login credentials'.
|
CodeCoverageBuilder.CodeCoverageDescriptorImpl |
getDescriptor() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public CodeCoverageBuilder(String connectionId, String credentialsId, String analysisPropertiesPath, String analysisProperties)
connectionId
- a unique host connection identifiercredentialsId
- unique id of the selected credentialanalysisPropertiesPath
- the path of Code Coverage analysis properties fileanalysisProperties
- the Code Coverage analysis propertiespublic String getConnectionId()
String
value of m_connectionIdpublic String getCredentialsId()
String
value of m_credentialsIdpublic String getAnalysisPropertiesPath()
String
value of m_analysisPropertiesPathpublic String getAnalysisProperties()
String
value of m_analysisPropertiespublic CodeCoverageBuilder.CodeCoverageDescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
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
Copyright © 2016–2022. All rights reserved.