Class SecurityScanFreestyle
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- io.jenkins.plugins.synopsys.security.scan.extension.freestyle.SecurityScanFreestyle
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,FreestyleScan
,SecurityScan
,SimpleBuildStep
public class SecurityScanFreestyle extends Builder implements SecurityScan, FreestyleScan, SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityScanFreestyle.Descriptor
-
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
Constructors Constructor Description SecurityScanFreestyle()
-
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
-
-
-
-
Method Detail
-
getProduct
public String getProduct()
- Specified by:
getProduct
in interfaceSecurityScan
-
getBlackduck_url
public String getBlackduck_url()
- Specified by:
getBlackduck_url
in interfaceSecurityScan
-
getBlackduck_token
public String getBlackduck_token()
- Specified by:
getBlackduck_token
in interfaceSecurityScan
-
getBlackduck_install_directory
public String getBlackduck_install_directory()
- Specified by:
getBlackduck_install_directory
in interfaceSecurityScan
-
isBlackduck_scan_full
public Boolean isBlackduck_scan_full()
- Specified by:
isBlackduck_scan_full
in interfaceSecurityScan
-
isBlackduckIntelligentScan
public Boolean isBlackduckIntelligentScan()
- Specified by:
isBlackduckIntelligentScan
in interfaceSecurityScan
-
getBlackduck_scan_failure_severities
public String getBlackduck_scan_failure_severities()
- Specified by:
getBlackduck_scan_failure_severities
in interfaceSecurityScan
-
getBlackduck_download_url
public String getBlackduck_download_url()
- Specified by:
getBlackduck_download_url
in interfaceSecurityScan
-
isBlackduck_reports_sarif_create
public Boolean isBlackduck_reports_sarif_create()
- Specified by:
isBlackduck_reports_sarif_create
in interfaceSecurityScan
-
getBlackduck_reports_sarif_file_path
public String getBlackduck_reports_sarif_file_path()
- Specified by:
getBlackduck_reports_sarif_file_path
in interfaceSecurityScan
-
isBlackduck_reports_sarif_groupSCAIssues
public Boolean isBlackduck_reports_sarif_groupSCAIssues()
- Specified by:
isBlackduck_reports_sarif_groupSCAIssues
in interfaceSecurityScan
-
getBlackduck_reports_sarif_severities
public String getBlackduck_reports_sarif_severities()
- Specified by:
getBlackduck_reports_sarif_severities
in interfaceSecurityScan
-
isBlackduck_reports_sarif_groupSCAIssues_temporary
public Boolean isBlackduck_reports_sarif_groupSCAIssues_temporary()
- Specified by:
isBlackduck_reports_sarif_groupSCAIssues_temporary
in interfaceSecurityScan
-
getBlackduck_search_depth
public Integer getBlackduck_search_depth()
- Specified by:
getBlackduck_search_depth
in interfaceSecurityScan
-
getBlackduck_config_path
public String getBlackduck_config_path()
- Specified by:
getBlackduck_config_path
in interfaceSecurityScan
-
getBlackduck_args
public String getBlackduck_args()
- Specified by:
getBlackduck_args
in interfaceSecurityScan
-
getCoverity_url
public String getCoverity_url()
- Specified by:
getCoverity_url
in interfaceSecurityScan
-
getCoverity_user
public String getCoverity_user()
- Specified by:
getCoverity_user
in interfaceSecurityScan
-
getCoverity_passphrase
public String getCoverity_passphrase()
- Specified by:
getCoverity_passphrase
in interfaceSecurityScan
-
getCoverity_project_name
public String getCoverity_project_name()
- Specified by:
getCoverity_project_name
in interfaceSecurityScan
-
getCoverity_stream_name
public String getCoverity_stream_name()
- Specified by:
getCoverity_stream_name
in interfaceSecurityScan
-
getCoverity_policy_view
public String getCoverity_policy_view()
- Specified by:
getCoverity_policy_view
in interfaceSecurityScan
-
getCoverity_install_directory
public String getCoverity_install_directory()
- Specified by:
getCoverity_install_directory
in interfaceSecurityScan
-
getCoverity_version
public String getCoverity_version()
- Specified by:
getCoverity_version
in interfaceSecurityScan
-
isCoverity_local
public Boolean isCoverity_local()
- Specified by:
isCoverity_local
in interfaceSecurityScan
-
getCoverity_build_command
public String getCoverity_build_command()
- Specified by:
getCoverity_build_command
in interfaceSecurityScan
-
getCoverity_clean_command
public String getCoverity_clean_command()
- Specified by:
getCoverity_clean_command
in interfaceSecurityScan
-
getCoverity_config_path
public String getCoverity_config_path()
- Specified by:
getCoverity_config_path
in interfaceSecurityScan
-
getCoverity_args
public String getCoverity_args()
- Specified by:
getCoverity_args
in interfaceSecurityScan
-
getPolaris_server_url
public String getPolaris_server_url()
- Specified by:
getPolaris_server_url
in interfaceSecurityScan
-
getPolaris_access_token
public String getPolaris_access_token()
- Specified by:
getPolaris_access_token
in interfaceSecurityScan
-
getPolaris_application_name
public String getPolaris_application_name()
- Specified by:
getPolaris_application_name
in interfaceSecurityScan
-
getPolaris_project_name
public String getPolaris_project_name()
- Specified by:
getPolaris_project_name
in interfaceSecurityScan
-
getPolaris_assessment_types
public String getPolaris_assessment_types()
- Specified by:
getPolaris_assessment_types
in interfaceSecurityScan
-
getPolaris_triage
public String getPolaris_triage()
- Specified by:
getPolaris_triage
in interfaceSecurityScan
-
getPolaris_branch_name
public String getPolaris_branch_name()
- Specified by:
getPolaris_branch_name
in interfaceSecurityScan
-
getPolaris_branch_parent_name
public String getPolaris_branch_parent_name()
- Specified by:
getPolaris_branch_parent_name
in interfaceSecurityScan
-
getPolaris_prComment_severities
public String getPolaris_prComment_severities()
- Specified by:
getPolaris_prComment_severities
in interfaceSecurityScan
-
isPolaris_reports_sarif_create
public Boolean isPolaris_reports_sarif_create()
- Specified by:
isPolaris_reports_sarif_create
in interfaceSecurityScan
-
getPolaris_reports_sarif_file_path
public String getPolaris_reports_sarif_file_path()
- Specified by:
getPolaris_reports_sarif_file_path
in interfaceSecurityScan
-
isPolaris_reports_sarif_groupSCAIssues
public Boolean isPolaris_reports_sarif_groupSCAIssues()
- Specified by:
isPolaris_reports_sarif_groupSCAIssues
in interfaceSecurityScan
-
getPolaris_reports_sarif_severities
public String getPolaris_reports_sarif_severities()
- Specified by:
getPolaris_reports_sarif_severities
in interfaceSecurityScan
-
getPolaris_reports_sarif_issue_types
public String getPolaris_reports_sarif_issue_types()
- Specified by:
getPolaris_reports_sarif_issue_types
in interfaceSecurityScan
-
isPolaris_reports_sarif_groupSCAIssues_temporary
public Boolean isPolaris_reports_sarif_groupSCAIssues_temporary()
- Specified by:
isPolaris_reports_sarif_groupSCAIssues_temporary
in interfaceSecurityScan
-
getPolaris_assessment_mode
public String getPolaris_assessment_mode()
- Specified by:
getPolaris_assessment_mode
in interfaceSecurityScan
-
getPolaris_test_sca_type
public String getPolaris_test_sca_type()
- Specified by:
getPolaris_test_sca_type
in interfaceSecurityScan
-
getPolaris_sca_search_depth
public Integer getPolaris_sca_search_depth()
- Specified by:
getPolaris_sca_search_depth
in interfaceFreestyleScan
-
getPolaris_sca_config_path
public String getPolaris_sca_config_path()
- Specified by:
getPolaris_sca_config_path
in interfaceFreestyleScan
-
getPolaris_sca_args
public String getPolaris_sca_args()
- Specified by:
getPolaris_sca_args
in interfaceFreestyleScan
-
getPolaris_sast_build_command
public String getPolaris_sast_build_command()
- Specified by:
getPolaris_sast_build_command
in interfaceFreestyleScan
-
getPolaris_sast_clean_command
public String getPolaris_sast_clean_command()
- Specified by:
getPolaris_sast_clean_command
in interfaceFreestyleScan
-
getPolaris_sast_config_path
public String getPolaris_sast_config_path()
- Specified by:
getPolaris_sast_config_path
in interfaceFreestyleScan
-
getPolaris_sast_args
public String getPolaris_sast_args()
- Specified by:
getPolaris_sast_args
in interfaceFreestyleScan
-
getProject_source_archive
public String getProject_source_archive()
- Specified by:
getProject_source_archive
in interfaceSecurityScan
-
isProject_source_preserveSymLinks
public Boolean isProject_source_preserveSymLinks()
- Specified by:
isProject_source_preserveSymLinks
in interfaceSecurityScan
-
isProject_source_preserveSymLinks_actualValue
public Boolean isProject_source_preserveSymLinks_actualValue()
- Specified by:
isProject_source_preserveSymLinks_actualValue
in interfaceSecurityScan
-
getProject_source_excludes
public String getProject_source_excludes()
- Specified by:
getProject_source_excludes
in interfaceSecurityScan
-
getProject_directory
public String getProject_directory()
- Specified by:
getProject_directory
in interfaceSecurityScan
-
getBlackduck_project_directory
public String getBlackduck_project_directory()
-
getCoverity_project_directory
public String getCoverity_project_directory()
-
getPolaris_project_directory
public String getPolaris_project_directory()
-
getBitbucket_username
public String getBitbucket_username()
- Specified by:
getBitbucket_username
in interfaceSecurityScan
-
getBitbucket_token
public String getBitbucket_token()
- Specified by:
getBitbucket_token
in interfaceSecurityScan
-
getGithub_token
public String getGithub_token()
- Specified by:
getGithub_token
in interfaceSecurityScan
-
getGitlab_token
public String getGitlab_token()
- Specified by:
getGitlab_token
in interfaceSecurityScan
-
getSynopsys_bridge_download_url
public String getSynopsys_bridge_download_url()
- Specified by:
getSynopsys_bridge_download_url
in interfaceSecurityScan
-
getSynopsys_bridge_download_version
public String getSynopsys_bridge_download_version()
- Specified by:
getSynopsys_bridge_download_version
in interfaceSecurityScan
-
getSynopsys_bridge_install_directory
public String getSynopsys_bridge_install_directory()
- Specified by:
getSynopsys_bridge_install_directory
in interfaceSecurityScan
-
isInclude_diagnostics
public Boolean isInclude_diagnostics()
- Specified by:
isInclude_diagnostics
in interfaceSecurityScan
-
isNetwork_airgap
public Boolean isNetwork_airgap()
- Specified by:
isNetwork_airgap
in interfaceSecurityScan
-
getMark_build_status
public String getMark_build_status()
- Specified by:
getMark_build_status
in interfaceSecurityScan
-
setProduct
@DataBoundSetter public void setProduct(String product)
-
setBlackduck_url
@DataBoundSetter public void setBlackduck_url(String blackduck_url)
-
setBlackduck_token
@DataBoundSetter public void setBlackduck_token(String blackduck_token)
-
setBlackduck_install_directory
@DataBoundSetter public void setBlackduck_install_directory(String blackduck_install_directory)
-
setBlackduck_scan_full
@DataBoundSetter public void setBlackduck_scan_full(Boolean blackduck_scan_full)
-
setBlackduck_scan_failure_severities
@DataBoundSetter public void setBlackduck_scan_failure_severities(String blackduck_scan_failure_severities)
-
setBlackduck_download_url
@DataBoundSetter public void setBlackduck_download_url(String blackduck_download_url)
-
setBlackduck_reports_sarif_create
@DataBoundSetter public void setBlackduck_reports_sarif_create(Boolean blackduck_reports_sarif_create)
-
setBlackduck_reports_sarif_file_path
@DataBoundSetter public void setBlackduck_reports_sarif_file_path(String blackduck_reports_sarif_file_path)
-
setBlackduck_reports_sarif_groupSCAIssues
@DataBoundSetter public void setBlackduck_reports_sarif_groupSCAIssues(Boolean blackduck_reports_sarif_groupSCAIssues)
-
setBlackduck_reports_sarif_severities
@DataBoundSetter public void setBlackduck_reports_sarif_severities(String blackduck_reports_sarif_severities)
-
setBlackduck_search_depth
@DataBoundSetter public void setBlackduck_search_depth(Integer blackduck_search_depth)
-
setBlackduck_config_path
@DataBoundSetter public void setBlackduck_config_path(String blackduck_config_path)
-
setBlackduck_args
@DataBoundSetter public void setBlackduck_args(String blackduck_args)
-
setCoverity_url
@DataBoundSetter public void setCoverity_url(String coverity_url)
-
setCoverity_user
@DataBoundSetter public void setCoverity_user(String coverity_user)
-
setCoverity_passphrase
@DataBoundSetter public void setCoverity_passphrase(String coverity_passphrase)
-
setCoverity_project_name
@DataBoundSetter public void setCoverity_project_name(String coverity_project_name)
-
setCoverity_stream_name
@DataBoundSetter public void setCoverity_stream_name(String coverity_stream_name)
-
setCoverity_policy_view
@DataBoundSetter public void setCoverity_policy_view(String coverity_policy_view)
-
setCoverity_install_directory
@DataBoundSetter public void setCoverity_install_directory(String coverity_install_directory)
-
setCoverity_version
@DataBoundSetter public void setCoverity_version(String coverity_version)
-
setCoverity_local
@DataBoundSetter public void setCoverity_local(Boolean coverity_local)
-
setCoverity_build_command
@DataBoundSetter public void setCoverity_build_command(String coverity_build_command)
-
setCoverity_clean_command
@DataBoundSetter public void setCoverity_clean_command(String coverity_clean_command)
-
setCoverity_config_path
@DataBoundSetter public void setCoverity_config_path(String coverity_config_path)
-
setCoverity_args
@DataBoundSetter public void setCoverity_args(String coverity_args)
-
setPolaris_server_url
@DataBoundSetter public void setPolaris_server_url(String polaris_server_url)
-
setPolaris_access_token
@DataBoundSetter public void setPolaris_access_token(String polaris_access_token)
-
setPolaris_application_name
@DataBoundSetter public void setPolaris_application_name(String polaris_application_name)
-
setPolaris_project_name
@DataBoundSetter public void setPolaris_project_name(String polaris_project_name)
-
setPolaris_assessment_types
@DataBoundSetter public void setPolaris_assessment_types(String polaris_assessment_types)
-
setPolaris_triage
@DataBoundSetter public void setPolaris_triage(String polaris_triage)
-
setPolaris_branch_name
@DataBoundSetter public void setPolaris_branch_name(String polaris_branch_name)
-
setPolaris_branch_parent_name
@DataBoundSetter public void setPolaris_branch_parent_name(String polaris_branch_parent_name)
-
setPolaris_prComment_severities
@DataBoundSetter public void setPolaris_prComment_severities(String polaris_prComment_severities)
-
setPolaris_reports_sarif_create
@DataBoundSetter public void setPolaris_reports_sarif_create(Boolean polaris_reports_sarif_create)
-
setPolaris_reports_sarif_file_path
@DataBoundSetter public void setPolaris_reports_sarif_file_path(String polaris_reports_sarif_file_path)
-
setPolaris_reports_sarif_groupSCAIssues
@DataBoundSetter public void setPolaris_reports_sarif_groupSCAIssues(Boolean polaris_reports_sarif_groupSCAIssues)
-
setPolaris_reports_sarif_severities
@DataBoundSetter public void setPolaris_reports_sarif_severities(String polaris_reports_sarif_severities)
-
setPolaris_reports_sarif_issue_types
@DataBoundSetter public void setPolaris_reports_sarif_issue_types(String polaris_reports_sarif_issue_types)
-
setBitbucket_username
@DataBoundSetter public void setBitbucket_username(String bitbucket_username)
-
setPolaris_assessment_mode
@DataBoundSetter public void setPolaris_assessment_mode(String polaris_assessment_mode)
-
setPolaris_test_sca_type
@DataBoundSetter public void setPolaris_test_sca_type(String polaris_test_sca_type)
-
setPolaris_sca_search_depth
@DataBoundSetter public void setPolaris_sca_search_depth(Integer polaris_sca_search_depth)
-
setPolaris_sca_config_path
@DataBoundSetter public void setPolaris_sca_config_path(String polaris_sca_config_path)
-
setPolaris_sca_args
@DataBoundSetter public void setPolaris_sca_args(String polaris_sca_args)
-
setPolaris_sast_build_command
@DataBoundSetter public void setPolaris_sast_build_command(String polaris_sast_build_command)
-
setPolaris_sast_clean_command
@DataBoundSetter public void setPolaris_sast_clean_command(String polaris_sast_clean_command)
-
setPolaris_sast_config_path
@DataBoundSetter public void setPolaris_sast_config_path(String polaris_sast_config_path)
-
setPolaris_sast_args
@DataBoundSetter public void setPolaris_sast_args(String polaris_sast_args)
-
setProject_source_archive
@DataBoundSetter public void setProject_source_archive(String project_source_archive)
-
setProject_source_preserveSymLinks
@DataBoundSetter public void setProject_source_preserveSymLinks(Boolean project_source_preserveSymLinks)
-
setProject_source_excludes
@DataBoundSetter public void setProject_source_excludes(String project_source_excludes)
-
setProject_directory
@DataBoundSetter public void setProject_directory(String project_directory)
-
setCoverity_project_directory
@DataBoundSetter public void setCoverity_project_directory(String coverity_project_directory)
-
setBlackduck_project_directory
@DataBoundSetter public void setBlackduck_project_directory(String blackduck_project_directory)
-
setPolaris_project_directory
@DataBoundSetter public void setPolaris_project_directory(String polaris_project_directory)
-
setBitbucket_token
@DataBoundSetter public void setBitbucket_token(String bitbucket_token)
-
setGithub_token
@DataBoundSetter public void setGithub_token(String github_token)
-
setGitlab_token
@DataBoundSetter public void setGitlab_token(String gitlab_token)
-
setSynopsys_bridge_download_url
@DataBoundSetter public void setSynopsys_bridge_download_url(String synopsys_bridge_download_url)
-
setSynopsys_bridge_download_version
@DataBoundSetter public void setSynopsys_bridge_download_version(String synopsys_bridge_download_version)
-
setSynopsys_bridge_install_directory
@DataBoundSetter public void setSynopsys_bridge_install_directory(String synopsys_bridge_install_directory)
-
setInclude_diagnostics
@DataBoundSetter public void setInclude_diagnostics(Boolean include_diagnostics)
-
setNetwork_airgap
@DataBoundSetter public void setNetwork_airgap(Boolean network_airgap)
-
setMark_build_status
@DataBoundSetter public void setMark_build_status(String mark_build_status)
-
perform
public void perform(@NonNull Run<?,?> run, @NonNull FilePath workspace, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener)
- Specified by:
perform
in interfaceSimpleBuildStep
-
-