Class AmazonInspectorBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.amazon.inspector.jenkins.amazoninspectorbuildstep.AmazonInspectorBuilder
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorDescriptionAmazonInspectorBuilder
(String archivePath, String artifactPath, String archiveType, String sbomgenPath, boolean osArch, String iamRole, String awsRegion, String credentialId, String awsProfileName, String awsCredentialId, String sbomgenMethod, String sbomgenSource, boolean isThresholdEnabled, boolean thresholdEquals, int countCritical, int countHigh, int countMedium, int countLow, String oidcCredentialId) -
Method Summary
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Field Details
-
logger
-
-
Constructor Details
-
AmazonInspectorBuilder
@DataBoundConstructor public AmazonInspectorBuilder(String archivePath, String artifactPath, String archiveType, String sbomgenPath, boolean osArch, String iamRole, String awsRegion, String credentialId, String awsProfileName, String awsCredentialId, String sbomgenMethod, String sbomgenSource, boolean isThresholdEnabled, boolean thresholdEquals, int countCritical, int countHigh, int countMedium, int countLow, String oidcCredentialId)
-
-
Method Details
-
isSource
-
isOs
-
perform
public void perform(Run<?, ?> build, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) throws IOException, InterruptedException- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
IOException
InterruptedException
-
getImageSha
-