Class ThirdPartyUploadRecorder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
io.jenkins.plugins.finitestatethirdpartyupload.ThirdPartyUploadRecorder
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionThirdPartyUploadRecorder(String finiteStateClientId, String finiteStateSecret, String finiteStateOrganizationContext, String assetId, String version, Boolean externalizableId, String filePath, String testType, String businessUnitId, String createdByUserId, String productId, String artifactDescription, Boolean quickScan) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeEnvVar(String input) booleangetSecretTextValue(AbstractBuild build, String credentialId) get secret values from formstatic booleanbooleanperform(AbstractBuild build, Launcher launcher, BuildListener listener) voidsetArtifactDescription(String artifactDescription) voidsetAssetId(String assetId) voidsetBusinessUnitId(String businessUnitId) voidsetCreatedByUserId(String createdByUserId) voidsetExternalizableId(boolean externalizableId) voidsetFilePath(String filePath) voidsetFiniteStateClientId(String finiteStateClientId) voidsetFiniteStateOrganizationContext(String finiteStateOrganizationContext) voidsetFiniteStateSecret(String finiteStateSecret) voidsetProductId(String productId) voidsetTestType(String testType) voidsetVersion(String version) static StringvalidateEnvVar(String input) Methods inherited from class hudson.tasks.Recorder
getDescriptorMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getRequiredMonitorService
-
Constructor Details
-
ThirdPartyUploadRecorder
@DataBoundConstructor public ThirdPartyUploadRecorder(String finiteStateClientId, String finiteStateSecret, String finiteStateOrganizationContext, String assetId, String version, Boolean externalizableId, String filePath, String testType, String businessUnitId, String createdByUserId, String productId, String artifactDescription, Boolean quickScan)
-
-
Method Details
-
getFiniteStateClientId
-
getFiniteStateSecret
-
getFiniteStateOrganizationContext
-
getAssetId
-
getVersion
-
getExternalizableId
public boolean getExternalizableId() -
getFilePath
-
getBusinessUnitId
-
getCreatedByUserId
-
getProductId
-
getArtifactDescription
-
getTestType
-
setFiniteStateClientId
-
setFiniteStateSecret
-
setFiniteStateOrganizationContext
@DataBoundSetter public void setFiniteStateOrganizationContext(String finiteStateOrganizationContext) -
setAssetId
-
setVersion
-
setExternalizableId
@DataBoundSetter public void setExternalizableId(boolean externalizableId) -
setFilePath
-
setTestType
-
setBusinessUnitId
-
setCreatedByUserId
-
setProductId
-
setArtifactDescription
-
getSecretTextValue
get secret values from form- Parameters:
build-credentialId-- Returns:
-
escapeEnvVar
-
validateEnvVar
-
isDockerInstalled
public static boolean isDockerInstalled() -
perform
public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException - Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-