
RUdatha136677 (Community Member) asked a question.
Hi I am trying to trigger GreenLight Scan via CI/CD tool. I am getting following message. Can you please help me what is going wrong
I am trying following command
java -jar c:\Soft\gl-scanner-java.jar --api_id "%VERACODE_API_KEY_ID%" --api_secret_key "%VERACODE_API_KEY_SECRET%" --source_dir "service-catalog-service/src/main/java" --build_dir "service-catalog-service/build/classes/java/main" --previous_commit_hash "<-Previous commit hash-->" --save_jar true
Error message:
==============
[26 May 2020 00:41:44,0412] GREENLIGHT INFO: Upload package 'changes.jar' populated.
[26 May 2020 00:41:44,0412] GREENLIGHT INFO: Beginning scanning of 'changes.jar'.
[26 May 2020 00:41:44,0412] GREENLIGHT INFO: Sending 588938 bytes to the server for analysis.
[26 May 2020 00:41:44,0953] GREENLIGHT INFO: Trying to execute POST https://api.veracode.com/greenlight/v3/scan/java/ HTTP/1.1
[26 May 2020 00:41:47,0481] GREENLIGHT ERROR: ERROR: The file exceeds the maximum file size of 1 MB.
Thanks
Ramesh
.png)
Hello Ramesh-
First off- please be aware, we are deprecating the Greenlight CI tool which you are using by the end of this year.
To troubleshoot this issue please contact our support team - support@veracode.com
Hi Jon
Thank you for your reply. Is there any alternative to GreenLight to integrate in CI/CD pipeline?
Thanks & regards
Ramesh Udatha
Hi Ramesh - yes absolutely - please check out pipeline scan!
https://help.veracode.com/reader/tS9CaFwL4_lbIEWWomsJoA/ovfZGgu96UINQxIuTqRDwg