whitesource-ps / ws-nexus-integration

WhiteSource Nexus integration tool
Apache License 2.0
15 stars 8 forks source link

[Question] [ws-nexus-integration] How does it work for offline?? #57

Closed RinaGSS closed 1 year ago

RinaGSS commented 1 year ago

I used nexus On-Prem. Does Mend generate update-request.txt?? How will Mend upload the results?

BR, Rina

rammatzkvosky commented 1 year ago

Hi @RinaGSS ,

Mend integration with nexus doesn't generate update-request.txt as it works by default with offline=False Meaning the scan results are sent directly to your Mend application.

To scan in an offline mode ( create update-request.txt in the end of the scan) - please set the WS_OFFLINE environment variable to True. It will generate the update-request.txt in the tmp directory that you will need to upload later on : /tmp/ws-nexus-integration/whitesource/update-request.txt

For example : image

RinaGSS commented 1 year ago

Hi @rammatzkvosky

Where is "WS_OFFLINE"?? In the tmp\ws-nexus-integration-22.10.1\config\params.config?? There is no offline parameter here.