@Symbol(value="totaltest")
@Extension
public static final class TotalTestCTBuilder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
hudson.util.FormValidation |
doCheckAccountInfo(String value) |
hudson.util.FormValidation |
doCheckCcThreshold(String value)
Validates for the 'CcThreshold' field
|
hudson.util.FormValidation |
doCheckCredentialsId(String value)
Validates for the 'Login Credential' field
|
hudson.util.FormValidation |
doCheckEnvironmentId(String value)
Validates for the 'EnvironmentId' field
|
hudson.util.FormValidation |
doCheckFolderPath(String value)
Validates for the 'folderPath' field
|
hudson.util.FormValidation |
doCheckReportFolder(String value)
Validates for the 'reportFolder' field
|
hudson.util.FormValidation |
doCheckServerUrl(String value)
Validates for the 'CES server URL' field
|
hudson.util.ListBoxModel |
doFillCredentialsIdItems(jenkins.model.Jenkins context,
String credentialsId,
hudson.model.Item project)
Fills in the Login Credential selection box with applicable Jenkins credentials
|
hudson.util.ListBoxModel |
doFillLogLevelItems(jenkins.model.Jenkins context,
String logLevel,
hudson.model.Item project)
Fill in the logging levels.
|
hudson.util.ListBoxModel |
doFillServerUrlItems(String serverUrl)
Fills in the CES server URL selection box with applicable Jenkins credentials
|
hudson.util.ListBoxModel |
doFillSonarVersionItems(jenkins.model.Jenkins context,
String sonarVersion,
hudson.model.Item project)
Fill in the Sonar versions.
|
String |
getDisplayName()
(non-Javadoc)
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
(non-Javadoc)
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic static final String defaultFolderPath
public static final int defaultCCThreshold
public static final String defaultSourceFolder
public static final String defaultReportFolder
public static final Boolean defaultRecursive
public static final Boolean defaultStopIfTestFailsOrThresholdReached
public static final Boolean defaultUploadToServer
public static final Boolean defaultHaltAtFailure
public static final String defaultAccountInfo
public static final Boolean defaultCompareJunits
public static final Boolean defaultCreateReport
public static final Boolean defaultCreateResult
public static final Boolean defaultCreateSonarReport
public static final Boolean defaultCreateJUnitReport
public static final String defaultSonarVersion
public static final String defaultJsonFile
public static final String defaultProgramList
public static final Boolean defaultUseScenarios
public static final String selectJsonFile
public static final String selectPrograms
public static final String selectProgramsJsonValue
public static final String selectProgramsListValue
public static final String defaultSelectProgramsJsonValue
public static final Boolean defaultHaltPipelineOnFailure
public static final Boolean defaultCollectCodeCoverage
public static final String defaultCollectCCRepository
public static final String defaultCollectCCSystemy
public static final String defaultCollectCCTestID
public static final Boolean defaultClearCodeCoverage
public static final String haltPipelineTitle
public static final String defaultLocalConfigLocation
public static final String defaultLogLevel
public hudson.util.ListBoxModel doFillSonarVersionItems(@AncestorInPath
jenkins.model.Jenkins context,
@QueryParameter
String sonarVersion,
@AncestorInPath
hudson.model.Item project)
context - An instance of context for the Jenkin's contextsonarVersion - The sonar version to set.project - An instance of Item for the project.ListBoxModel instance contain the Code Coverage program types.public hudson.util.ListBoxModel doFillLogLevelItems(@AncestorInPath
jenkins.model.Jenkins context,
@QueryParameter
String logLevel,
@AncestorInPath
hudson.model.Item project)
context - An instance of context for the Jenkin's contextlogLevel - The logging level to check.project - An instance of Item for the project.ListBoxModel instance contain the Code Coverage program types.public hudson.util.FormValidation doCheckCcThreshold(@QueryParameter
String value)
value - The code coverage threshold.public hudson.util.FormValidation doCheckEnvironmentId(@QueryParameter
String value)
value - The environment id.public hudson.util.FormValidation doCheckServerUrl(@QueryParameter
String value)
value - The CES server URL.public hudson.util.FormValidation doCheckCredentialsId(@QueryParameter
String value)
value - Value passed from the config.jelly "fileExtension" fieldpublic hudson.util.FormValidation doCheckReportFolder(@QueryParameter
String value)
value - Value passed from the config.jelly "fileExtension" fieldpublic hudson.util.FormValidation doCheckFolderPath(@QueryParameter
String value)
value - Value passed from the config.jelly "fileExtension" fieldpublic hudson.util.FormValidation doCheckAccountInfo(@QueryParameter
String value)
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath
jenkins.model.Jenkins context,
@QueryParameter
String credentialsId,
@AncestorInPath
hudson.model.Item project)
context - Jenkins context.credentialsId - The credendtial id for the user.project - The Jenkins project.public hudson.util.ListBoxModel doFillServerUrlItems(@QueryParameter
String serverUrl)
serverUrl - The serverUrl id for the user.public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>BuildStepDescriptor.isApplicable(java.lang.Class)public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>Descriptor.getDisplayName()Copyright © 2016–2020. All rights reserved.