@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 Credentials' field
|
hudson.util.FormValidation |
doCheckEnvironmentRadio(String value) |
hudson.util.FormValidation |
doCheckFolderPath(String value,
hudson.model.Item item)
Validates for the 'folderPath' field
|
hudson.util.FormValidation |
doCheckReportFolder(String value,
hudson.model.Item item)
Validates for the 'reportFolder' field
|
hudson.util.ListBoxModel |
doFillConnectionIdItems(jenkins.model.Jenkins context,
String connectionId,
hudson.model.Item project)
Fills in the Host Connection selection box with applicable connections.
|
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 |
doFillServerCredentialsIdItems(jenkins.model.Jenkins context,
String serverCredentialsId,
hudson.model.Item project)
Fills in the Login Credential selection box with applicable Jenkins credentials
|
hudson.util.ListBoxModel |
doFillServerUrlItems(String serverUrl,
hudson.model.Item project)
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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public 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 selectProgramList
public static final String selectProgramsJsonValue
public static final String selectProgramsListValue
public static final String defaultSelectProgramsJsonValue
public static final Boolean defaultSelectProgramsOption
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 static final Boolean defaultUseEnterpriseData
public static final String defaultEnterpriseDataHostPort
public static final String defaultEnterpriseDataWorkspace
public static final String defaultJclPath
public static final String selectLocalConfigValue
public static final String selectJclPathValue
public static final String selectEnvironmentIdValue
public static final String selectHostConnectionValue
public static final String selectHostPortValue
public static final String defaultContextVariables
public static final String defaultCustomerId
public static final String defaultSiteId
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 doCheckEnvironmentRadio(@QueryParameter String value)
public hudson.util.ListBoxModel doFillConnectionIdItems(@AncestorInPath jenkins.model.Jenkins context, @QueryParameter String connectionId, @AncestorInPath hudson.model.Item project)
context
- An instance of context
for the Jenkin's contextconnectionId
- an existing host connection identifier; can be nullproject
- An instance of Item
for the project.public hudson.util.FormValidation doCheckCredentialsId(@QueryParameter String value)
value
- Value passed from the config.jelly "fileExtension" fieldpublic hudson.util.FormValidation doCheckReportFolder(@QueryParameter String value, @AncestorInPath hudson.model.Item item)
value
- Value passed from the config.jelly "fileExtension" fieldpublic hudson.util.FormValidation doCheckFolderPath(@QueryParameter String value, @AncestorInPath hudson.model.Item item)
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 host credential id for the user.project
- The Jenkins project.public hudson.util.ListBoxModel doFillServerUrlItems(@QueryParameter String serverUrl, @AncestorInPath hudson.model.Item project)
serverUrl
- The serverUrl id for the user.public hudson.util.ListBoxModel doFillServerCredentialsIdItems(@AncestorInPath jenkins.model.Jenkins context, @QueryParameter String serverCredentialsId, @AncestorInPath hudson.model.Item project)
context
- Jenkins context.serverCredentialsId
- The server credential id for the user.project
- The Jenkins project.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–2023. All rights reserved.