You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Additional arguments are duplicated in the "scan create" command line #156
which in turn does return withConfigArguments(buildScanCreateArgumentsArray(params, additionalParameters));
I think the problem is that buildScanCreateArgumentsArray already adds the additional parameters to the list and then withConfigArguments adds those to the command correctly, but also readds them in the end of the method with arguments.addAll(this.cxConfig.toArguments());
Example console output from a Jenkins build:
13:35:34 [Cx-Info]: Branch name: ${GIT_BRANCH}
13:35:34 [Cx-Info]: Using global additional options: false
13:35:34 [Cx-Info]: Additional Options: --sast-incremental
13:35:34 [Cx-Info]: Checkmarx installation is UP-TO-DATE
13:35:34 [Cx-Info]: Submitting the scan details to the CLI wrapper.
13:35:34 [Cx-Info]: Executable path: /home/lasse/build/tools/com.checkmarx.jenkins.tools.CheckmarxInstallation/Checkmarx/cx
13:35:34 $ /home/lasse/build/tools/com.checkmarx.jenkins.tools.CheckmarxInstallation/Checkmarx/cx scan create --scan-info-format json -s /home/lasse/build/workspace/Checkmarx_desktop-main_PR-1234 --agent Jenkins --project-name MyProject --branch PR-1234 --sast-incremental --tenant myTenant --base-uri https://eu.ast.checkmarx.net --sast-incremental
Activity