Class UploadBinaryScanRecorder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
io.jenkins.plugins.finitestateuploadbinaryscan.UploadBinaryScanRecorder
- 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
ConstructorsConstructorDescriptionUploadBinaryScanRecorder(String finiteStateClientId, String finiteStateSecret, String finiteStateOrganizationContext, String assetId, String version, Boolean externalizableId, String filePath, String businessUnitId, String createdByUserId, String productId, String artifactDescription, Boolean quickScan) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeEnvVar(String input) booleanbooleangetSecretTextValue(AbstractBuild build, String credentialId) get secret values from formstatic booleanbooleanbooleanperform(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) voidsetQuickScan(boolean quickScan) 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
-
UploadBinaryScanRecorder
@DataBoundConstructor public UploadBinaryScanRecorder(String finiteStateClientId, String finiteStateSecret, String finiteStateOrganizationContext, String assetId, String version, Boolean externalizableId, String filePath, 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
-
getQuickScan
public boolean getQuickScan() -
isQuickScan
public boolean isQuickScan() -
setFiniteStateClientId
-
setFiniteStateSecret
-
setFiniteStateOrganizationContext
@DataBoundSetter public void setFiniteStateOrganizationContext(String finiteStateOrganizationContext) -
setAssetId
-
setVersion
-
setExternalizableId
@DataBoundSetter public void setExternalizableId(boolean externalizableId) -
setFilePath
-
setQuickScan
@DataBoundSetter public void setQuickScan(boolean quickScan) -
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
-