Skip to content

Report with results of both SCA and SAST from Jenkins Plugin#117

Open
swatiawate1 wants to merge 3 commits intomarch23-integrationfrom
plug_49_sca_report
Open

Report with results of both SCA and SAST from Jenkins Plugin#117
swatiawate1 wants to merge 3 commits intomarch23-integrationfrom
plug_49_sca_report

Conversation

@swatiawate1
Copy link
Contributor

No description provided.



private void createScaReports(AstScaResults scaResults, File checkmarxBuildDir) {
private void createScaReports(AstScaResults scaResults, File checkmarxBuildDir, @Nonnull FilePath workspace) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont see use of new argument workspace in this method. Kindly check if it is required.

}
ret.setEnablePolicyViolations(enableProjectPolicyEnforcement);

if (!ret.isAstScaEnabled() && !ret.getSynchronous()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check if the condition should be && or ||

createOsaReports(osaResults, checkmarxBuildDir);
} else if (scaResults != null && scaResults.isScaResultReady()) {
createScaReports(scaResults, checkmarxBuildDir);
createScaReports(scaResults, checkmarxBuildDir, workspace);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check if additional argument workspace is needed in this method.

Copy link
Contributor

@PravinGadankush PravinGadankush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please work on the review comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants